summaryrefslogtreecommitdiffstats
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-06-28 08:29:05 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-06-28 08:29:05 +0000
commit788b1fc17a2f0aba5c55ff68bf407ac8e137eafa (patch)
treefff12c2b9ef86698c8eec8842a317f437946cfc3 /sys/kern/syscalls.master
parentdf569db8a679e7bfa0fa1c6792a60f149cc1e235 (diff)
downloadFreeBSD-src-788b1fc17a2f0aba5c55ff68bf407ac8e137eafa.zip
FreeBSD-src-788b1fc17a2f0aba5c55ff68bf407ac8e137eafa.tar.gz
o Change kse_thr_interrupt to allow send a signal to a specified thread,
or unblock a thread in kernel, and allow UTS to specify whether syscall should be restarted. o Add ability for UTS to monitor signal comes in and removed from process, the flag PS_SIGEVENT is used to indicate the events. o Add a KMF_WAITSIGEVENT for KSE mailbox flag, UTS call kse_release with this flag set to wait for above signal event. o For SA based thread, kernel masks all signal in its signal mask, let UTS to use kse_thr_interrupt interrupt a thread, and install a signal frame in userland for the thread. o Add a tm_syncsig in thread mailbox, when a hardware trap occurs, it is used to deliver synchronous signal to userland, and upcall is schedule, so UTS can process the synchronous signal for the thread. Reviewed by: julian (mentor)
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 31fb722..0e171ab 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -556,7 +556,7 @@
380 MSTD BSD { int kse_wakeup(struct kse_mailbox *mbx); }
381 STD BSD { int kse_create(struct kse_mailbox *mbx, \
int newgroup); }
-382 MSTD BSD { int kse_thr_interrupt(struct kse_thr_mailbox *tmbx); }
+382 MSTD BSD { int kse_thr_interrupt(struct kse_thr_mailbox *tmbx, int sig); }
383 MSTD BSD { int kse_release(struct timespec *timeout); }
384 MSTD BSD { int __mac_get_proc(struct mac *mac_p); }
385 MSTD BSD { int __mac_set_proc(struct mac *mac_p); }
OpenPOWER on IntegriCloud