| Allegro CL version 7.0 Unrevised from 6.2 to 7.0. | |||||||||
Arguments: queue &key wait whostate
Removes the object at the head of the queued sequence
queue, that is, the one that has been queued the
longest, and returns that object. If queue is
empty, then the result depends on the value of the
wait keyword argument. If
wait is nil (the
default), then an error is signaled. If wait is
true, then the process waits until it can successfully dequeue an
object from the queue. The predefined method is for the queue class.
The function queue-empty-p indicates whether the queue is empty or not.
Interlocks ensure that no entry in the queue will be retrieved by more than one process (once the dequeuing starts, it will complete). If the process does wait, its whostate will be set from the whostate keyword argument, which defaults to the string "waiting for something".
See Queues in multiprocessing.htm for more information.
Copyright (c) 1998-2006, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 7.0. This page was not revised from the 6.2 page.
Created 2004.8.21.
| Allegro CL version 7.0 Unrevised from 6.2 to 7.0. | |||||||||