On 25/06/2012, at 19:50, Jorge wrote:
> On 25/06/2012, at 19:11, Fedor Indutny wrote
>> On Tue, Jun 26, 2012 at 12:04 AM, Jorge <jo...@jorgechamorro.com> wrote:
>>> 
>>> What does replace
>>> 
>>> ev_async_start(EV_DEFAULT_UC_ &thread->async_watcher);
>>> 
>>> and
>>> 
>>> ev_async_stop(EV_DEFAULT_UC_ &thread->async_watcher);
>>> 
>>> ?
>> 
>> start is performed automatically, stop may be done via 
>> uv_close((uv_handle_t*)&async_watcher, NULL).
> 
> [x] DONE (and it seems to work fine...)
> 
> Thank you very much!

Hey Fedor, please, one more thing...

I use to check ev_async_pending(&watcher) before doing an 
ev_async_send(&watcher). Is there anything like ev_async_pending() in libuv?

Now for some reason my async events are being dispatched much slower: it went 
from 370 k events per second, to about 230 k events per second...

Thanks,
-- 
Jorge.

Reply via email to