diff --git a/src/system/libroot/posix/pthread/pthread.c b/src/system/libroot/posix/pthread/pthread.c index 498a3bed49..2a711b5f12 100644 --- a/src/system/libroot/posix/pthread/pthread.c +++ b/src/system/libroot/posix/pthread/pthread.c @@ -153,6 +153,7 @@ pthread_kill(pthread_t thread, int sig) int pthread_detach(pthread_t thread) { - return B_NOT_ALLOWED; + // TODO: currently, all threads are detached in our implementation... + return 0; }