]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a race when detaching the cbb worker thread. There were a couple
authorimp <imp@FreeBSD.org>
Wed, 24 May 2006 17:22:53 +0000 (17:22 +0000)
committerimp <imp@FreeBSD.org>
Wed, 24 May 2006 17:22:53 +0000 (17:22 +0000)
commit0e7d1a9250a0f4df024a7beb83bcf76fbe1aff5a
treed428cd95d5913542d75cd8403de6b6970f25d70b
parentbeb934bdcded880bc8e41e5b1eba911a1b95d810
Fix a race when detaching the cbb worker thread.  There were a couple
of cases where we didn't take out the lock before setting or clearing
a bit.  This apparently can lead to a race at kldunload time (at least
on my Turion64 laptop, never saw it on my Sony Vaio).
sys/dev/pccbb/pccbb.c