One more change in the 'thread' module (fixes a link error): 2008-08-18 Bruno Haible <[EMAIL PROTECTED]>
* lib/glthread/thread.h [USE_SOLARIS_THREADS]: Use thread_in_use(), not pthread_in_use(). *** lib/glthread/thread.h.orig 2008-08-18 12:35:16.000000000 +0200 --- lib/glthread/thread.h 2008-08-18 12:25:15.000000000 +0200 *************** *** 250,262 **** # define glthread_create(THREADP, FUNC, ARG) \ (thread_in_use () ? thr_create (NULL, 0, FUNC, ARG, 0, THREADP) : 0) # define glthread_sigmask(HOW, SET, OSET) \ ! (pthread_in_use () ? sigprocmask (HOW, SET, OSET) : 0) # define glthread_join(THREAD, RETVALP) \ ! (pthread_in_use () ? thr_join (THREAD, NULL, RETVALP) : 0) # define gl_thread_self() \ ! (pthread_in_use () ? (void *) thr_self () : 0) # define gl_thread_exit(RETVAL) \ ! (pthread_in_use () ? thr_exit (RETVAL) : 0) # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) 0 # ifdef __cplusplus --- 250,262 ---- # define glthread_create(THREADP, FUNC, ARG) \ (thread_in_use () ? thr_create (NULL, 0, FUNC, ARG, 0, THREADP) : 0) # define glthread_sigmask(HOW, SET, OSET) \ ! (thread_in_use () ? sigprocmask (HOW, SET, OSET) : 0) # define glthread_join(THREAD, RETVALP) \ ! (thread_in_use () ? thr_join (THREAD, NULL, RETVALP) : 0) # define gl_thread_self() \ ! (thread_in_use () ? (void *) thr_self () : 0) # define gl_thread_exit(RETVAL) \ ! (thread_in_use () ? thr_exit (RETVAL) : 0) # define glthread_atfork(PREPARE_FUNC, PARENT_FUNC, CHILD_FUNC) 0 # ifdef __cplusplus