Loops processing a wait-state-collection.
comm
loop-processing-wait-state-collection wait-state-collection
wait-state-collection⇩ | |
The function loop-processing-wait-state-collection
loops processing wait-state-collection.
loop-processing-wait-state-collection
loops waiting for any state to be ready (using wait-for-wait-state-collection) and processes any state that is ready (using call-wait-state-collection). It establishes restarts that allow aborting back into the loop, and a mechanism that allows wait-state-collection-stop-loop to stop the loop.
If wait-state-collection-stop-loop is called on wait-state-collection, which can be from other threads, loop-processing-wait-state-collection
stops looping and returns.
In most cases using create-and-run-wait-state-collection is more convenient.
There can be only one loop-processing-wait-state-collection
on each wait-state-collection at a time. Typically this will occur in a process that is made specifically to run loop-processing-wait-state-collection
on the collection.
create-and-run-wait-state-collection
wait-for-wait-state-collection
wait-state-collection-stop-loop
25 TCP and UDP socket communication and SSL
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:26