Re: [libvirt] [PATCH] util: ensure virMutexInit is not recursive

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

 



Daniel P. Berrange wrote:
> On Thu, Mar 18, 2010 at 11:32:16AM -0600, Eric Blake wrote:
>> POSIX states that creation of a mutex with default attributes
>> is unspecified whether the mutex is recursive or non-recursive.
>> We specifically want non-recursive (deadlock is desirable in
>> flushing out coding bugs that used our mutex incorrectly).
>>
>> * src/util/threads-pthread.c (virMutexInit): Specifically request
>> non-recursive mutex, rather than relying on unspecified default.
...
> ACK, this is good.

Pushed.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]