Linux v2.6.13-rc3
[pohmelfs.git] / include / linux / futex.h
blob65d6cfdb6d39c11098008268c6e97df7a3b5b462
1 #ifndef _LINUX_FUTEX_H
2 #define _LINUX_FUTEX_H
4 /* Second argument to futex syscall */
7 #define FUTEX_WAIT (0)
8 #define FUTEX_WAKE (1)
9 #define FUTEX_FD (2)
10 #define FUTEX_REQUEUE (3)
11 #define FUTEX_CMP_REQUEUE (4)
13 long do_futex(unsigned long uaddr, int op, int val,
14 unsigned long timeout, unsigned long uaddr2, int val2,
15 int val3);
17 #endif