Re: ev_prepare watcher awkwardness

2015-04-18 Thread Marc Lehmann
On Fri, Apr 17, 2015 at 07:46:00PM +0200, Thilo Schulz th...@tjps.eu wrote: I am currently working around this by always also installing an idle watcher to make sure the program doesn't block for at least one event loop iteration. But like I said, this solution is rather awkward. The problem

Re: Suggestion for new watcher type: called immediately after execution of current watcher has finished

2015-04-18 Thread Marc Lehmann
On Fri, Apr 17, 2015 at 07:48:15PM +0200, Thilo Schulz th...@tjps.eu wrote: What I was missing for this case was a way to make libev execute something immediately after the current watcher is done, even before other pending watchers are executed. And why would the be necessary? If ev_prepare