in reply to Re^3: Question in Win32::ChangeNotify...
in thread Question in Win32::ChangeNotify...
This would cause the wait to return if either a file changed, or if the timer went off.
But you would need to go through the hoops of using Win32::API to set up the waitable timer, and there is no guarentee that you could pass the resulting system object to the module and have it make use of it.
It is far simpler to just calculate the difference between the current time and the target wakeup time and use that as a timeout on your wait calls.
|
|---|