Closed
Description
there is no pthread_detach
call (there is no impl Drop
at all), so users that want to create a detached thread end up leaking the pthread_t
handle.
compare to the Unix Thread
:
rust/library/std/src/sys/unix/thread.rs
Lines 280 to 285 in 8e7fd55