Add pthread_detach to -kthread test.

This commit is contained in:
Kurt Zeilenga 1999-03-30 04:07:16 +00:00
parent da25203c58
commit a95247a58a
2 changed files with 350 additions and 346 deletions

692
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -699,7 +699,9 @@ int main(argc, argv)
#if HAVE_PTHREADS_D4
pthread_create(NULL,pthread_attr_default,NULL,NULL);
#else
pthread_create(NULL,NULL,NULL,NULL);
pthread_t t;
pthread_create(&t,NULL,NULL,NULL);
pthread_detach(t);
#endif
],
[ol_cv_kthread_flag=yes], [ol_cv_kthread_flag=no])