]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r233544:
authorfabient <fabient@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 3 Apr 2012 07:15:42 +0000 (07:15 +0000)
committerfabient <fabient@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 3 Apr 2012 07:15:42 +0000 (07:15 +0000)
commitcf41ff0d74dcf35db1a5d60caaee035c02711dda
tree436e754a538a0334783bb0b4d1eb5370b32fce0d
parentd8950edcdb67de219add609e08c21eb758d0bec0
MFC r233544:
Fix random deadlock on pmcstat exit:
- Exit the thread when soft shutdown is requested
- Wakeup owner thread.

Reproduced/tested by looping pmcstat measurement:
pmcstat -S instructions -O/tmp/test ls

git-svn-id: svn://svn.freebsd.org/base/stable/9@233824 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hwpmc/hwpmc_logging.c