Fix bug introduced when adding sem_timedwait
[akaros.git] / user / pthread / futex.h
1 #ifndef PTHREAD_FUTEX_H
2 #define PTHREAD_FUTEX_H
3
4 #include <sys/time.h>
5
6 __BEGIN_DECLS
7
8 enum {
9         FUTEX_WAIT,
10         FUTEX_WAKE
11 };
12
13 int futex(int *uaddr, int op, int val, const struct timespec *timeout,
14           int *uaddr2, int val3);
15
16 __END_DECLS
17
18 #endif  /* PTHREAD_FUTEX_H */