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. -- A new cognitive theory of emotion, http://openheartlogic.org
