about summary refs log tree commit diff
path: root/src/thread/pthread_getcpuclockid.c
blob: 9df14fb68952463d5e4606ef19fa4f6ca043d2ec (plain) (blame)
1
2
3
4
5
6
7
#include "pthread_impl.h"

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