summaryrefslogtreecommitdiff
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2005-12-03 18:09:10 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2005-12-03 18:09:10 +0000
commitc70b5cef9cd869b5048eb62edb340396b02e4db0 (patch)
tree0683210c43a51394ea6f6bca3962c42be65f891c /sys/kern/syscalls.master
parentb1ebc44477794b7e2189d2bc0b2251eb10230ff4 (diff)
kernel support for threaded processes (rthreads).
uses rfork(RFTHREAD) to create threads, which are presently processes that are a little more tightly bound together. several new syscalls added to facilitate a userland thread library. all conditional on RTHREADS, currently disabled. ok deraadt
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 5c6e0efaee0..1313e320676 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.78 2005/07/03 20:13:59 drahn Exp $
+; $OpenBSD: syscalls.master,v 1.79 2005/12/03 18:09:08 tedu Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -594,3 +594,17 @@
#else
297 UNIMPL
#endif
+298 STD { int sys_sched_yield(void); }
+#ifdef RTHREADS
+299 STD { pid_t sys_getthrid(void); }
+300 STD { int sys_thrsleep(long ident, int timeout, void *lock); }
+301 STD { int sys_thrwakeup(long ident); }
+302 STD { int sys_threxit(int rval); }
+303 STD { int sys_thrsigdivert(sigset_t sigmask); }
+#else
+299 UNIMPL
+300 UNIMPL
+301 UNIMPL
+302 UNIMPL
+303 UNIMPL
+#endif