June 2002
Beginner
759 pages
80h 42m
English
wait
$obj->wait([timeout])
This method is used on any synchronization object. It waits
for the object to become signaled. It returns 1 if the object is signaled, -1 if the object is an abandoned mutex,
0 if the call times out, and
undef on error.
timeoutis the time to wait (in
milliseconds). If no timeout is
specified, the method waits indefinitely.
Win32::IPC also defines the two functions wait_all and wait_any.