On Wednesday, June 27, 2012 2:59:36 PM UTC+2, Ben Noordhuis wrote:
>
> On Wed, Jun 27, 2012 at 12:02 PM, Jorge <jo...@jorgechamorro.com> wrote: 
> > I use to check ev_async_pending(&watcher) before doing an 
> ev_async_send(&watcher). Is there anything like ev_async_pending() in 
> libuv? 
>
> No. What pattern do you use? Something like this? 
>
>   if (!ev_async_pending(w)) 
>     ev_async_send(w); 
>
>
Ben, I think this should just be the default behaviour of libuv.

Reply via email to