You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for reply @kroggen , now I understand.
I've tried uv_callback in conjuction with uv_queue_work() (is it a bad practice?) with the same loop for both. Surprisingly for me I've found it works. (Without uv_async_send(&async) of course) . I've merked also that the uv_callback's callbacks are firing an event just like in node.js EventEmmiter().emit('my_event', data) does in a single thread loop.
But by now I didn't yet figured out all features of this approach. Just a little hello_world.c with uv_queue_work() and uv_callback all together I've written for me.
Is this operation an analog of uv_queue_work() function? If yes, should it work with last commit and without uv_async_send?
The text was updated successfully, but these errors were encountered: