diff options
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/threading.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/src/threading.rst b/docs/src/threading.rst index 883218fa..72f8bae0 100644 --- a/docs/src/threading.rst +++ b/docs/src/threading.rst @@ -78,6 +78,14 @@ Threads .. versionchanged:: 1.4.1 returns a UV_E* error code on failure +.. c:function:: int uv_thread_detach(uv_thread_t* tid) + + Detaches a thread. Detached threads automatically release their + resources upon termination, eliminating the need for the application to + call `uv_thread_join`. + + .. versionadded:: 1.50.0 + .. c:function:: int uv_thread_create_ex(uv_thread_t* tid, const uv_thread_options_t* params, uv_thread_cb entry, void* arg) Like :c:func:`uv_thread_create`, but additionally specifies options for creating a new thread. |