]> Savannah Git Hosting - gnulib.git/commit
lock, cond, thread, tls: Use a different symbol as libpthread witness.
authorBruno Haible <bruno@clisp.org>
Fri, 11 May 2018 00:07:00 +0000 (02:07 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 11 May 2018 00:07:00 +0000 (02:07 +0200)
commit0f336e1192a40a842b2e8ae04ee04fb85b7584bb
tree5c16ca6a4db1ff557a153ddff123ad3651a5c758
parent617bc96d54db37c138bafb1872056de4453a248b
lock, cond, thread, tls: Use a different symbol as libpthread witness.

Reported by Devin Hussey <husseydevin@gmail.com>.
Based on a patch by Paul Eggert.

* lib/glthread/lock.h (pthread_in_use): Use 'pthread_mutexattr_gettype'
as witness of libpthread.
* lib/glthread/cond.h (pthread_in_use): Likewise.
* lib/glthread/thread.h (pthread_in_use): Likewise.
* lib/glthread/tls.h (pthread_in_use): Likewise.
ChangeLog
lib/glthread/cond.h
lib/glthread/lock.h
lib/glthread/thread.h
lib/glthread/tls.h