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.


Previous: Reference: reset Perl in a Nutshell Next: 19.3 Win32::ChangeNotification
Reference: reset Book Index 19.3 Win32::ChangeNotification

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.