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:
parent
10f0fc8f20
commit
c41a74e8f3
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user