diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-27 20:21:28 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-27 20:21:28 +0100 |
commit | a7e90478b6bd2ca0a8df8db9a0ae6448f0b391af (patch) | |
tree | f48b86fc0df6e942158a5eb7f6f8f9b8562aca77 /sysdeps/mach | |
parent | ba1101b8755f1e843af4d9b160533f0b11e4b598 (diff) |
Use pthread_key for libc_key
* sysdeps/pthread/pthread-functions.h (struct pthread_functions): Rename
ptr_pthread_key_create, ptr_pthread_getspecific, ptr_pthread_setspecific
fields into ptr___pthread_key_create, ptr___pthread_getspecific,
ptr___pthread_setspecific
* pthread/pt-initialize.c (struct pthread_functions): Likewise.
* sysdeps/pthread/libc-lockP.h (__libc_key_t): Define type.
[IS_IN (libpthread)] (PTFAVAIL, __libc_ptf_call,
__libc_ptf_call_always): Directly call pthread functions.
(__libc_key_create): Define macro to calling __pthread_key_create.
(__libc_getspecific): Define macro to calling __pthread_getspecific.
(__libc_setspecific): Define macro to calling __pthread_setspecific.
Diffstat (limited to 'sysdeps/mach')
0 files changed, 0 insertions, 0 deletions