NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/46168 CVS commit: src/sys



The following reply was made to PR kern/46168; it has been noted by GNATS.

From: "Mindaugas Rasiukevicius" <rmind%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/46168 CVS commit: src/sys
Date: Thu, 27 Sep 2012 20:43:16 +0000

 Module Name:   src
 Committed By:  rmind
 Date:          Thu Sep 27 20:43:16 UTC 2012
 
 Modified Files:
        src/sys/kern: kern_exit.c kern_lwp.c sys_lwp.c
        src/sys/sys: lwp.h
 
 Log Message:
 exit_lwps, lwp_wait: fix a race condition by re-trying if p_lock was dropped
 in a case of process exit.  Necessary to re-flag all LWPs for exit, as their
 state might have changed or new LWPs spawned.
 
 Should fix PR/46168 and PR/46402.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.241 -r1.242 src/sys/kern/kern_exit.c
 cvs rdiff -u -r1.172 -r1.173 src/sys/kern/kern_lwp.c
 cvs rdiff -u -r1.54 -r1.55 src/sys/kern/sys_lwp.c
 cvs rdiff -u -r1.163 -r1.164 src/sys/sys/lwp.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index