Libuv:Stream
lastmod 2018-08-17created 2016-12-271 edits
Troubleshooting
Multi-threading uv_write method
In short, uv_write is not thread-safe. There are the following workarounds.
- Use
uv_try_write. (Note that the official documentation says nothing about thread safety.) - Use uv_async_t, then use
uv_write.
Pages that link here