diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2007-04-05 02:31:49 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2007-04-05 02:31:49 +0000 |
commit | a8558bd82c45efae326539ab8635dffbd52a0c27 (patch) | |
tree | 0747907769692d447be3a3bda4b2e73147c0879a | |
parent | 0255bc9e3e9647655e95c3ffbcdc5d0c896efadc (diff) |
jason crawford noticed that the rthreads diff didn't compile with rthreads!
-rw-r--r-- | sys/kern/kern_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index b7a2113d46b..db00d007f71 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exit.c,v 1.66 2007/04/04 14:40:55 pedro Exp $ */ +/* $OpenBSD: kern_exit.c,v 1.67 2007/04/05 02:31:48 tedu Exp $ */ /* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */ /* @@ -131,7 +131,7 @@ exit1(struct proc *p, int rv, int flags) * we are one of the threads. we SIGKILL the parent, * it will wake us up again, then we proceed. */ - atomic_setbits_int(&p->p_thrparent->p_flag, P_IGNEXITRV); + atomic_setbits_int(&p->p_p->ps_mainproc->p_flag, P_IGNEXITRV); p->p_p->ps_mainproc->p_xstat = rv; psignal(p->p_p->ps_mainproc, SIGKILL); tsleep(p->p_p, PUSER, "thrdying", 0); |