Warn that detached threads may not call libuv
This seems like an important caveat, but was not documented. Ref https://github.com/JuliaLang/julia/pull/60056#issuecomment-3509030539
This commit is contained in:
parent
b33162dd0b
commit
ab2088d4a4
@ -82,7 +82,8 @@ Threads
|
||||
|
||||
Detaches a thread. Detached threads automatically release their
|
||||
resources upon termination, eliminating the need for the application to
|
||||
call `uv_thread_join`.
|
||||
call `uv_thread_join`. It is undefined behavior for the thread referenced by `tid`
|
||||
to call any libuv APIs after being detached.
|
||||
|
||||
.. versionadded:: 1.50.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user