diff --git a/userspace/libraries/LibC/pthread.cpp b/userspace/libraries/LibC/pthread.cpp index 684e4a19..eeb8f95e 100644 --- a/userspace/libraries/LibC/pthread.cpp +++ b/userspace/libraries/LibC/pthread.cpp @@ -255,6 +255,13 @@ pthread_create_error: return return_code; } +int pthread_detach(pthread_t thread) +{ + (void)thread; + dwarnln("TODO: pthread_detach"); + return ENOTSUP; +} + void pthread_exit(void* value_ptr) { #if not __disable_thread_local_storage