On Wed, Jul 4, 2012 at 3:04 AM, debuguo waterawo...@gmail.com wrote:
which means no guarantee that every ev_async_send will be processed ?
No. Every ev_async_send is always processed, but multiple calls of
ev_async_send might cause the async watcher to be invoked only once.
If the async watcher
On Wed, Jul 04, 2012 at 04:59:05PM +0200, Jorge jo...@jorgechamorro.com wrote:
if (!ev_async_pending(watcher)) ev_async_send(EV_DEFAULT_UC_ watcher);
that expands to:
if (!(+(watcher)-sent)) ev_async_send(ev_default_loop_uc_ (), watcher);
In all my background (p)threads...
Should I