aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/defs_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/defs_linux.go')
-rw-r--r--src/runtime/defs_linux.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/runtime/defs_linux.go b/src/runtime/defs_linux.go
index 022ef19427..7c3167032f 100644
--- a/src/runtime/defs_linux.go
+++ b/src/runtime/defs_linux.go
@@ -58,6 +58,9 @@ const (
SA_ONSTACK = C.SA_ONSTACK
SA_SIGINFO = C.SA_SIGINFO
+ SI_KERNEL = C.SI_KERNEL
+ SI_TIMER = C.SI_TIMER
+
SIGHUP = C.SIGHUP
SIGINT = C.SIGINT
SIGQUIT = C.SIGQUIT
@@ -109,6 +112,10 @@ const (
ITIMER_VIRTUAL = C.ITIMER_VIRTUAL
ITIMER_PROF = C.ITIMER_PROF
+ CLOCK_THREAD_CPUTIME_ID = C.CLOCK_THREAD_CPUTIME_ID
+
+ SIGEV_THREAD_ID = C.SIGEV_THREAD_ID
+
EPOLLIN = C.POLLIN
EPOLLOUT = C.POLLOUT
EPOLLERR = C.POLLERR
@@ -126,5 +133,7 @@ type Timespec C.struct_timespec
type Timeval C.struct_timeval
type Sigaction C.struct_sigaction
type Siginfo C.siginfo_t
+type Itimerspec C.struct_itimerspec
type Itimerval C.struct_itimerval
+type Sigevent C.struct_sigevent
type EpollEvent C.struct_epoll_event