summaryrefslogtreecommitdiff
path: root/src/threads/thrd_current.c
blob: f18d7b29d18224343197dcde46f4aa55bd2e2ead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#if 0

#include <threads.h>
#include <pthread.h>

thrd_t thrd_current(void)
{
	SIGNAL_SAFE(0);
	return pthread_self();
}

__check_0(thrd_t, 0, thrd_current)

/*
STDC(201112)
*/


#endif