[PATCH 0/2] Warn on pthread errors

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

 



libvirt currently exhibits undefined behavior due to pthread mutex misuse,
e.g. destroying a locked mutex or attempting to unlock an already unlocked
mutex.

Add a warning if such a case is detected, so we can start on fixing the
issues.

Tim Wiederhake (2):
  virMutex: Warn on error
  DO NOT MERGE: virMutex: Fail loudly

 src/util/virthread.c | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

-- 
2.43.0




[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]

  Powered by Linux