summaryrefslogtreecommitdiff
path: root/src/thread/__futex.c
blob: 93352fa3c1323fb62ab8edcac385cf10347ffa14 (plain) (blame)
1
2
3
4
5
6
7
8
#include "futex.h"
#include "syscall.h"

int __futex(volatile int *addr, int op, int val, void *ts)
{
	return syscall4(__NR_futex, (long)addr, op, val, (long)ts);
}