diff options
author | jeff <jeff@FreeBSD.org> | 2003-04-01 02:32:07 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-04-01 02:32:07 +0000 |
commit | d41c709cb329403292effecd48dba1b9a6447c47 (patch) | |
tree | d51e0e77c50777dde62885d635acd78b279509eb | |
parent | 1b4d7b91cef2a324650912a6c4a57c1247f72de9 (diff) | |
download | FreeBSD-src-d41c709cb329403292effecd48dba1b9a6447c47.zip FreeBSD-src-d41c709cb329403292effecd48dba1b9a6447c47.tar.gz |
- Mark the various thr syscalls as MP safe. Previously there was a bug if
this was not done since thr_exit() unwinds giant.
-rw-r--r-- | sys/kern/syscalls.master | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index f22060b..b5c729b 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -624,10 +624,10 @@ 428 MSTD BSD { int __acl_aclcheck_link(const char *path, \ acl_type_t type, struct acl *aclp); } 429 MSTD NOHIDE { int sigwait(const sigset_t *set, int *sig); } -430 STD BSD { int thr_create(ucontext_t *ctx, thr_id_t *id, int flags); } -431 STD BSD { void thr_exit(void); } -432 STD BSD { int thr_self(thr_id_t *id); } -433 STD BSD { int thr_kill(thr_id_t id, int sig); } +430 MSTD BSD { int thr_create(ucontext_t *ctx, thr_id_t *id, int flags); } +431 MSTD BSD { void thr_exit(void); } +432 MSTD BSD { int thr_self(thr_id_t *id); } +433 MSTD BSD { int thr_kill(thr_id_t id, int sig); } 434 MSTD BSD { int _umtx_lock(struct umtx *umtx); } 435 MSTD BSD { int _umtx_unlock(struct umtx *umtx); } |