diff options
author | Jens Gustedt <Jens.Gustedt@inria.fr> | 2014-09-06 21:32:53 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-09-06 21:38:04 -0400 |
commit | e16f70f45210294321a88f23c85ac45046577adc (patch) | |
tree | 57372bee85877809503cd09dd9b79f0da6e3fc48 /src/thread/pthread_getspecific.c | |
parent | b7cf71a190813590860af25b32532b6c360ac502 (diff) | |
download | musl-e16f70f45210294321a88f23c85ac45046577adc.tar.gz musl-e16f70f45210294321a88f23c85ac45046577adc.tar.bz2 musl-e16f70f45210294321a88f23c85ac45046577adc.tar.xz musl-e16f70f45210294321a88f23c85ac45046577adc.zip |
add C11 thread functions operating on tss_t and once_flag
These all have POSIX equivalents, but aside from tss_get, they all
have minor changes to the signature or return value and thus need to
exist as separate functions.
Diffstat (limited to 'src/thread/pthread_getspecific.c')
-rw-r--r-- | src/thread/pthread_getspecific.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread/pthread_getspecific.c b/src/thread/pthread_getspecific.c index d3d09fa2..d9342a56 100644 --- a/src/thread/pthread_getspecific.c +++ b/src/thread/pthread_getspecific.c @@ -1,4 +1,5 @@ #include "pthread_impl.h" +#include <threads.h> static void *__pthread_getspecific(pthread_key_t k) { @@ -7,3 +8,4 @@ static void *__pthread_getspecific(pthread_key_t k) } weak_alias(__pthread_getspecific, pthread_getspecific); +weak_alias(__pthread_getspecific, tss_get); |