From e16f70f45210294321a88f23c85ac45046577adc Mon Sep 17 00:00:00 2001 From: Jens Gustedt Date: Sat, 6 Sep 2014 21:32:53 -0400 Subject: 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. --- src/thread/pthread_getspecific.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/thread/pthread_getspecific.c') 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 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); -- cgit 1.4.1