Age | Commit message (Collapse) | Author |
|
The version from libc was not made to be replaced, and doesn't need to
indeed.
* Version: Remove __libc_getspecific symbol.
* libpthread.a: Likewise.
* libpthread_pic.a: Likewise.
* pthread/cthreads-compat: Remove __libc_getspecific function.
|
|
libc releases the spinlock before calling __mutex_unlock_solid, so we have to
try to reacquire it before possibly giving it to some blocked thread.
* pthread/cthreads-compat.c (__mutex_unlock_solid): Call
__pthread_spin_trylock before calling __pthread_mutex_unlock.
|
|
Thus, revert a bit of commit 769e2108a0f5fc49eff9f3addbaf5f0646bcb253.
* pthread/cthreads-compat.c: Don't #include <stddef.h>.
|
|
* pthread/cthreads-compat.c: #include <stddef.h> for NULL.
* pthread/pt-exit.c (pthread_exit): Remove stray need_dealloc variable.
* sysdeps/generic/pt-attr-getschedparam.c: #include <string.h> for memcpy.
* sysdeps/mach/hurd/ia32/pt-setup.c (stack_setup): Apply some more typecasting.
* tests/test-1.c: #include <assert.h>.
* tests/test-6.c: Likewise.
* tests/test-7.c: Likewise.
* tests/test-16.c (handler): Take parameters for sa_handler, not sa_sigaction.
|
|
* pthread/cthreads-compat.c: Don't include <cthreads.h>.
(cthread_t): New type definition.
(cthread_fn_t): Likewise.
(cthread_key_t): Likewise.
(CTHREAD_KEY_INVALID): Define.
|
|
|