Hi Shueng Chuan,

Thank you for your suggestion - it worked a treat.  The callbacks are now
being invoked on the worker threads and I can utilize all cpu cores.

The simple fixes are always the best !

Jamie


On Mon, Nov 3, 2014 at 2:50 PM, KIU Shueng Chuan <[email protected]> wrote:

> It seems from the manpage that you would need to make your constructor
> like the following:
>
> Worker(int id) : m_id(id), m_timer(m_loop)
> { ... }
>
> Otherwise, it defaults to using the default loop.
>
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to