home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


wait

$

ntfy


->wait
([

timeout

])

The wait method is inherited from the Win32::IPC package. It waits for the notification object to become signaled when it detects a change. timeout is the maximum time to wait (in milliseconds). If timeout is omitted, the method waits forever. If timeout is 0, the function returns immediately. The function returns the following values:

+1

The object is signaled

0

Timed out

undef

An error occurred

Use reset on the object after wait if you wish to continue monitoring.