Thanks to a bug report by Arnab Basu, fixed the incorrect waking up of thread_join waiters on the calling thread, instead of the thread being detached.
Thanks to a bug report by Arnab Basu, fixed the incorrect waking up of thread_join waiters on the calling thread, instead of the thread being detached.