qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 6/7] add assertions on the owner of a QemuMutex


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 6/7] add assertions on the owner of a QemuMutex
Date: Fri, 11 Feb 2011 13:14:54 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 02/10/2011 07:25 PM, Jan Kiszka wrote:
On 2011-02-10 18:37, Paolo Bonzini wrote:
These are already present in the Win32 implementation, add them to
the pthread wrappers as well.

Better use PTHREAD_MUTEX_ERRORCHECK.

True. However, later I'd like to include tests that the mutex is held during cond_signal/cond_broadcast, so I would have to track the owner manually anyway.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]