--- - branch: MAIN date: Tue Apr 26 17:40:38 UTC 2011 files: - new: '1.32' old: '1.31' path: src/sys/kern/kern_kthread.c pathrev: src/sys/kern/kern_kthread.c@1.32 type: modified id: 20110426T174038Z.8158e823c5988580b3beed54f9a7c1139953ddc1 log: | Hold the current lwp's mutex, instead of the lwp we want to wait for in kthread_join(). This fixes panics with DIAGNOSTIC and possibly some rare race conditons. module: src subject: 'CVS commit: src/sys/kern' unixtime: '1303839638' user: ahoka