CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/04/20 21:36:57
Modified files:
usr.sbin/vmd : vm.c
Log message:
vmd: improve concurrency control in pause
Previous implementation hit a deadlock sometimes as the pthread_cond_broadcast
for the pause mutex could happen before pthread_cond_wait. This implementation
uses a barrier which is hit when all vpcus are paused.
ok mpi@
