Next Previous Up Top Contents Index

3.5.1 Mutual exclusion primitives

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.


MLWorks Reference Manual version 2.0 - 29 Jul 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker