Generic FunctionPackage: mpToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
This page is new in 9.0.

process-queue-interrupt

Arguments: process function &rest args

Like mp:process-interrupt (see that function for a description of the arguments) but calls the interruptions with with-delayed-interrupts being in effect which guarantees order of arrival processing.

Let us say we have three processes, p1, p2, and p3. p2 evaluates

   (mp:process-queue-interrupt p1 #'(lambda ()
     (format t "p2 interrupt processed!~%")))

p3 evaluates

   (mp:process-queue-interrupt p1 #'(lambda ()
     (format t "p3 interrupt processed!~%")))

Then when p1 next runs, it will run those functions in the order in which the interrupts arrived (whatever that is) rather than in a random order.

See multiprocessing.htm for general information on multiprocessing in Allegro CL.


Copyright (c) 1998-2017, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 9.0 release.
Created 2017.2.15.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
This page is new in 9.0.