Re: Creating active timers within callbacks

2004-01-08 Thread John Christian
Do'h! Ok ... I see my problem. In my IO callback there's a loop around the socket accept, so it's just not returning to the Event::loop, and since most of the functionality is in that IO callback, it was hard to catch earlier. Thanks for bearing with me, John John Christian w

Re: Creating active timers within callbacks

2004-01-07 Thread John Christian
Hi There, Ok, here's the gist of what I'm doing, a lot of excess code snipped off, hopefully it's legible enough to illustrate what I'm trying to do, I've added additional comments to describe what's happening: (The server code is split up into several modules but still in one file, and method

Creating active timers within callbacks

2004-01-07 Thread John Christian
Hi, I'm writing a daemon utility (https://sourceforge.net/projects/scumd/) that I'd like to spawn off timer-based watchers from within an io-based watcher callback. The timer watchers created are returned when I do a all_watchers(), but their callbacks are NEVER subsequently executed (even wi