Best way to use async library jobs with the event-loop

Roman Strashkin roman.strashkin at gmail.com
Wed Apr 2 11:32:19 CEST 2014


implementation is very simple

create a thread that will execute your task. After the task has finished
the thread will call ev_async() to wake-up a handler that will call your
after-task-done function.

Thanks.


2014-04-01 15:39 GMT+04:00 Utku GENC <utku.genc at tubitak.gov.tr>:

> Hi,
>
> 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?
>
> * http://nikhilm.github.io/uvbook/threads.html#libuv-work-queue
>
> Thanks,
> Utku
>
> _______________________________________________
> libev mailing list
> libev at lists.schmorp.de
> http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20140402/9d2c3182/attachment.html>


More information about the libev mailing list