summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-09-23 08:31:57 -0700
committerOri Bernstein <ori@eigenstate.org>2017-09-23 08:31:57 -0700
commit61fc99f4d1bb75a6ac88cf5395f37f735589b4ce (patch)
treed184b4dadc534fdeaa053078255af6a7e82c5426 /support
parent466e33d95d9da9d218952c836d99c75ac2142b05 (diff)
downloadmc-61fc99f4d1bb75a6ac88cf5395f37f735589b4ce.tar.gz
Implement OpenBSD 6.2 futex mutexes.
Diffstat (limited to 'support')
-rw-r--r--support/syscall-gen/types+openbsd:6.2-x64.frag7
1 files changed, 6 insertions, 1 deletions
diff --git a/support/syscall-gen/types+openbsd:6.2-x64.frag b/support/syscall-gen/types+openbsd:6.2-x64.frag
index a2ee894..0d28f2e 100644
--- a/support/syscall-gen/types+openbsd:6.2-x64.frag
+++ b/support/syscall-gen/types+openbsd:6.2-x64.frag
@@ -17,11 +17,16 @@ type sockfam = uint8 /* socket family */
type filemode = uint32
type filetype = uint8
type fcntlcmd = int64
-type signo = int32
+ype signo = int32
type sigflags = int32
type sigset = uint32
type msg = void
+const Futexwait : int = 1
+const Futexwake : int = 2
+const Futexrequeue : int = 3
+
+
type clock = union
`Clockrealtime
`Clockmonotonic