aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_getcpuclockid.c
blob: d404cb461d6f012edb29cb231d607c71f8b84bdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "pthread_impl.h"

int pthread_getcpuclockid(pthread_t t, clockid_t *clockid)
{
	*clockid = (-t->tid-1)*8U + 6;
	return 0;
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif