wait(waitvarname)
signal(waitvarname)
signal1(waitvarname)
wait()
on the wait variable
waitvarname()
, signal()
, wait()
will unblock. If you wish to release just the
first waiting client, use signal1()
.One does not use newdsm
to create a wait variable. Instead, the
variable is automatically created the first time wait()
is called
on it.
A signal posted when no waits are pending will be ignored.
barr
,
lock
,
unlock
,
fa