diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2003-04-17 22:21:57 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2003-04-17 22:21:57 +0000 |
| commit | 94df4b85844c22f103769e1e6434ddedfbca5805 (patch) | |
| tree | fe1491e67e9166459fe18c741883a612388b5b4b /sys/kern/kern_thread.c | |
| parent | 538621734a69562b17c1a09c7d0b2d971bccb20c (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_thread.c')
| -rw-r--r-- | sys/kern/kern_thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index bfc97ad597fe..784d45b0a77b 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -747,7 +747,9 @@ thread_getcontext(struct thread *td, ucontext_t *uc) #ifdef __i386__ get_mcontext(td, &uc->uc_mcontext); #endif + PROC_LOCK(td->td_proc); uc->uc_sigmask = td->td_sigmask; + PROC_UNLOCK(td->td_proc); } /* |
