Re: [RFC 1/3] kvm tools: use mutex abstraction instead of pthread mutex

2012-10-25 Thread Pekka Enberg
On Wed, 24 Oct 2012, Sasha Levin wrote: We already have something to wrap pthread with mutex_[init,lock,unlock] calls. This patch creates a new struct mutex abstraction and moves everything to work with it. Signed-off-by: Sasha Levin sasha.le...@oracle.com I applied this patch from the RFC

[RFC 1/3] kvm tools: use mutex abstraction instead of pthread mutex

2012-10-24 Thread Sasha Levin
We already have something to wrap pthread with mutex_[init,lock,unlock] calls. This patch creates a new struct mutex abstraction and moves everything to work with it. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- tools/kvm/hw/serial.c | 10 +-