diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2011-06-09 13:10:24 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-07-23 11:18:51 -0500 |
| commit | 46daff13c854769bfa8c51e77719325ea0f47b1b (patch) | |
| tree | 4a155409fd7cc8067d55af1220aa8afe07db4ac3 /hw/baum.c | |
| parent | 49e40b6627ea92c246b3903d171c88480b782512 (diff) | |
| download | focaccia-qemu-46daff13c854769bfa8c51e77719325ea0f47b1b.tar.gz focaccia-qemu-46daff13c854769bfa8c51e77719325ea0f47b1b.zip | |
iothread: replace fair_mutex with a condition variable
This conveys the intention better, and scales to more than >1 threads contending the mutex with the iothread (as long as all of them have a "quiescent point" like the TCG thread has). Also, on Mac OS X the fair_mutex somehow didn't work as intended and deadlocked. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Tested-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/baum.c')
0 files changed, 0 insertions, 0 deletions