pthread_detach() no longer fails, as we currently have all threads

detached. We would need to have a hash that contains the thread data to 
be able to comply with the specs AFAICT.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24718 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-04-01 12:17:02 +00:00
parent 10f0fc8f20
commit c41a74e8f3

View File

@ -153,6 +153,7 @@ pthread_kill(pthread_t thread, int sig)
int int
pthread_detach(pthread_t thread) pthread_detach(pthread_t thread)
{ {
return B_NOT_ALLOWED; // TODO: currently, all threads are detached in our implementation...
return 0;
} }