Scieneer Common Lisp 1.3.9 online documentation

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

Return the maximum size of the thread pool used to exectute queued tasks, or nil if there is no restriction.

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

Set the maximum size of the thread pool used to execute queued tasks. If the size is nil then there is no restriction and threads will created as needed. If the size increases then the thread pool will be grown, and if the size decreases then the thread pool with shrink as the threads complete execution of their current tasks.