Added generic macro for running a function exactly once (XCC)
[akaros.git] / kern / include / ros / futex.h
1 #ifndef _FUTEX_H
2 #define _FUTEX_H
3
4 #include <sys/time.h>
5
6 enum {
7   FUTEX_WAIT,
8   FUTEX_WAKE
9 };
10
11 int futex(int *uaddr, int op, int val, const struct timespec *timeout,
12                  int *uaddr2, int val3);
13
14 #endif  /* _FUTEX_H */