diff options
Diffstat (limited to 'src/thread/nt32/pthread_self.c')
-rw-r--r-- | src/thread/nt32/pthread_self.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/thread/nt32/pthread_self.c b/src/thread/nt32/pthread_self.c new file mode 100644 index 0000000..23fbc53 --- /dev/null +++ b/src/thread/nt32/pthread_self.c @@ -0,0 +1,10 @@ +#include "pthread_impl.h" +#include <threads.h> +#include "libc.h" + +pthread_t pthread_self() +{ + return __pthread_self(); +} + +weak_alias(pthread_self, thrd_current); |