All Manuals > LispWorks User Guide and Reference Manual > 32 The COMM Package

NextPrevUpTopContentsIndex

loop-processing-wait-state-collection

Function
Summary

Loops processing a wait-state-collection.

Package

comm

Signature

loop-processing-wait-state-collection wait-state-collection

Arguments

wait-state-collection

A wait-state-collection.

Description

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 the wait-state-collection, which can be from other threads, wait-state-collection-stop-loop stops looping and returns.

Notes

In most cases using create-and-run-wait-state-collection is more convenient.

See also

create-and-run-wait-state-collection
wait-state-collection-stop-loop


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex