On 2011-02-11 13:14, Paolo Bonzini wrote:
> 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.

You could still save the assertions where pthread does the work already.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux

Reply via email to