Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: resetChapter 19
Win32 Modules and Extensions
Next: 19.3 Win32::ChangeNotification
 

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: resetPerl in a NutshellNext: 19.3 Win32::ChangeNotification
Reference: resetBook Index19.3 Win32::ChangeNotification

Library Navigation Links

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