Function origin::detach_thread [−][src]
pub unsafe fn detach_thread(thread: *mut Thread)
Expand description
Marks a thread as “detached”.
Detached threads free their own resources automatically when they exit, rather than when they are joined.
Safety
thread
must point to a valid and live thread record that has not yet been
detached and will not be joined.