On 2014-04-01, Konstantin Olkhovskiy wrote:
> 2014-04-01 15:51 GMT+04:00 utku genç <[email protected]>:
> > 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 [1]. Complete example of libev
> integration is available in the documentation [2].

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[1].

http://dev.yorhel.nl/ylib

Yorhel.

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to