Best way to use async library jobs with the event-loop
info at yorhel.nl
Tue Apr 1 14:10:24 CEST 2014
On 2014-04-01, Konstantin Olkhovskiy wrote:
> 2014-04-01 15:51 GMT+04:00 utku genç <utkugenc at gmail.com>:
> > libuv has a convenience function for using possible blocking library
> > operations with event-loop paradigm*. What, do you think, is the best way
> > to implement such functionality for libev?
> Probably best way is to use libeio . Complete example of libev
> integration is available in the documentation .
Note that libeio isn't suitable as a general purpose thread pool because
it configures a rather small stack for the worker threads. I wrote a
generic thread pool for libev some time ago and dubbed it evtp.
More information about the libev