The function wait-for-wait-state-collection
waits for one of the states in collection to become active.
create-and-run-wait-state-collection
loop-processing-wait-state-collection
The Async-I/O-State API
LispWorks User Guide and Reference Manual - 13 Feb 2015