Replies: 1 comment 1 reply
-
跨线程调用uv_stop是不安全的 可以考虑使用uv_async_t — Async handle int uv_async_init(uv_loop_t *loop, uv_async_t *async, uv_async_cb async_cb) 2 跨线程时调用 int uv_async_send(uv_async_t *async) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have initialized a uv_loop_t for each thread, and then each thread runs its own uv_run and the events in its own thread. Is this the correct way to operate?
Beta Was this translation helpful? Give feedback.
All reactions