On Wed, Feb 18, 2004 at 11:09:16AM +0530, Joshua N Pritikin wrote:
> On Wed, Feb 18, 2004 at 12:50:27AM +0000, Robin Redeker wrote:
> > i am wondering why my program always unloops after a couple of time.
> > When there are no events or just one poll for read on a listening
> > socket, my program started to unloop after some time...around 5-10 minutes after
> > invocation.
> 
> You didn't post your code so this is just speculation, but one reason
> that Event can unloop is if all your watchers become inactive.  For
> example, if you have a one-shot timer and/or a one-shot IO watcher and
> both of them run once then you will unloop.  So maybe this is the
> reason.
> 

Well, it was a d'oh one, i somehow was unable to realize that i called loop(1000).
(haven't been working with Event for some time now ;-)

Everything is fine now... loop() works perfect...

thanks,
cya

-- 
Robin Redeker [EMAIL PROTECTED] http://www.x-paste.de/

Reply via email to