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.