Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: Time Drift when using Win32::Daemon::Simple

by Jenda (Abbot)
on Apr 17, 2003 at 19:13 UTC ( [id://251301]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Time Drift when using Win32::Daemon::Simple
in thread Time Drift when using Win32::Daemon::Simple

1. Yes. Just replace the

ServiceLoop(\&callback);
with the loop.

2. I don't think I follow, you mean that your callback would wait 59 seconds in case the time drifted to put it back in sync? Well you can do that. Apart from the fact that you will not be able to stop the service (via the Service Manager) during those 59 seconds you are safe.

Jenda
All those who understood the topic I just elucidated, please verticaly extend your upper limbs.
   -- Ted Goff

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://251301]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-12-12 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (65 votes). Check out past polls.