aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/defs_freebsd_386.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/defs_freebsd_386.go')
-rw-r--r--src/runtime/defs_freebsd_386.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/runtime/defs_freebsd_386.go b/src/runtime/defs_freebsd_386.go
index 6938c18736..efcbeb7a81 100644
--- a/src/runtime/defs_freebsd_386.go
+++ b/src/runtime/defs_freebsd_386.go
@@ -24,6 +24,8 @@ const (
_SA_RESTART = 0x2
_SA_ONSTACK = 0x1
+ _CLOCK_MONOTONIC = 0x4
+
_UMTX_OP_WAIT_UINT = 0xb
_UMTX_OP_WAIT_UINT_PRIVATE = 0xf
_UMTX_OP_WAKE = 0x3
@@ -203,6 +205,12 @@ type itimerval struct {
it_value timeval
}
+type umtx_time struct {
+ _timeout timespec
+ _flags uint32
+ _clockid uint32
+}
+
type keventt struct {
ident uint32
filter int16