Commit cdb5461f authored by Jack Jansen's avatar Jack Jansen

When testing for availability of pthreads without special compiler options

or libraries also look for thread_detach. SGI has thread_create in libc
but complete pthread support only in -lpthread. Fixes #522393.

2.2.1 candidate.Killed by signal 2.
parent 2b97503b
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -465,6 +465,7 @@ int main(){
pthread_t p;
if(pthread_create(&p,NULL,routine,NULL)!=0)
return 1;
(void)pthread_detach(p);
return 0;
}
],
......@@ -497,6 +498,7 @@ int main(){
pthread_t p;
if(pthread_create(&p,NULL,routine,NULL)!=0)
return 1;
(void)pthread_detach(p);
return 0;
}
],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment