Scieneer Common Lisp 1.3.9 online documentation

ext:process-wait process &optional check-for-stopped[Function]

Wait for the process to quit running for some reason. Returns process. If check-for-stopped is true then also return if the process stops.

Warning: for linuxthreads, only the parent thread may reap a child, and not other threads of the process. Other threads may also wait on the process but a status change will not be recognised until the parent thread checks the status. The linux new posix thread library (nptl) does not have this linux problem.