Scieneer Common Lisp 1.3.9 online documentation

thread:task-queue-maximum-length task-queue[Function]

Return the maximum allowed number of queued tasks, or nil if there is no restriction.

(setf (thread:task-queue-maximum-length task-queue) length)[Function]

Set the maximum allowed number of queue tasks. If the length is nil then there is no restriction and all task will be queued. Decreasing the maximum does not removed any pending tasks over the limit, but no new tasks will be queued until enough pending tasks are executed to bring the queue length within the maximum. Setting the maximum to zero will prevent any tasks being queued.