wait(waitvarname)
signal(waitvarname)wait on waitvarname, signal, wait will unblock.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