wait
Function
Syntax
wait mutex-list -> ()
Description
Blocks the current thread until all mutexes in mutex-list (type mutex list) are simultaneously free. Returns unit.
Note that a blocked thread will be added to the waiting list of only one of the mutexes.