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 <[email protected]>:

> 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
> [email protected]
> http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev
>
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to