mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Add pthread_detach to -kthread test.
This commit is contained in:
parent
da25203c58
commit
a95247a58a
2 changed files with 350 additions and 346 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Reference in a new issue