Generic FunctionPackage: mpToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version

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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version