ref: 96f7ecd57ed79995544a125e752c9711aeedbcb8
parent: 82526d4456cab45d013dbf12fe9d49cd79ec9796
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Sep 17 20:11:36 EDT 2015
Add all futex ops.
--- a/lib/sys/sys+linux-x64.myr
+++ b/lib/sys/sys+linux-x64.myr
@@ -251,7 +251,17 @@
const Futexwait : futexop = 0
const Futexwake : futexop = 1
/* Futexfd: removed */
- const Futexrequeue : futexop = 3
+ const Futexrequeue : futexop = 3
+ const Futexcmprequeue : futexop = 4
+ const Futexwakeop : futexop = 5
+ const Futexlockpi : futexop = 6
+ const Futexunlockpi : futexop = 7
+ const Futextrylockpi : futexop = 8
+ const Futexwaitbitset : futexop = 9
+ const Futexwakebitset : futexop = 10
+ const Futexwaitrequeuepi : futexop = 11
+ const Futexcmprequeuepi : futexop = 12
+
const Futexpriv : futexop = 128
const Futexclockrt : futexop = 256