* src/threads/native/threads.c (threads_detach_thread): Fixed debug output and