summaryrefslogtreecommitdiffstats
path: root/src/python/setup.py
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2013-11-20 16:58:51 +0100
committerTomas Bzatek <tbzatek@redhat.com>2013-11-21 15:42:31 +0100
commit52cdb2a9c497ed3d19ee5d563594f7251b2e43eb (patch)
treecce93eb00e636b645617298ce782a60295e2755e /src/python/setup.py
parentebdda486484f5979fb81e9be7edde9e05d663612 (diff)
indmanager: Forcefully recreate mutexes on indication stop
Creating mutexes with the PTHREAD_MUTEX_ERRORCHECK attribute proved to be a wrong way. It turned out locking was not working properly as any attempt to lock already locked mutex failed with a return value that we didn't check. The only reason we were using this special attribute was to prevent crash on forcefully unlocking mutex in an unknown state. That didn't work either as long as EPERM was returned when trying to unlock the mutex that has been locked from other thread... that was forcefully canceled. That only led to deadlocks fortunately hard to hit, unfortunately equally hard to debug.
Diffstat (limited to 'src/python/setup.py')
0 files changed, 0 insertions, 0 deletions