Re: [Qemu-devel] [RFC v2 06/11] linux-user: Use QemuMutex and QemuCond

2016-07-11 Thread Alex Bennée
Sergey Fedorov writes: > From: Sergey Fedorov > > Convert pthread_mutex_t and pthread_cond_t to QemuMutex and QemuCond. > This will allow to make some locks and conditional variables common > between user and system mode emulation. > > Signed-off-by: Sergey Fedorov > Signed-off-by: Sergey Fedo

[Qemu-devel] [RFC v2 06/11] linux-user: Use QemuMutex and QemuCond

2016-07-06 Thread Sergey Fedorov
From: Sergey Fedorov Convert pthread_mutex_t and pthread_cond_t to QemuMutex and QemuCond. This will allow to make some locks and conditional variables common between user and system mode emulation. Signed-off-by: Sergey Fedorov Signed-off-by: Sergey Fedorov --- linux-user/main.c | 53 +++