LibC: Add stub for pthread_detach

This commit is contained in:
2025-04-19 22:19:27 +03:00
parent a85841ca76
commit 01626b4c9f

View File

@@ -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