summaryrefslogtreecommitdiff
path: root/source3/utils/interact.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-08-10 17:00:38 +0200
committerChristian Ambach <ambi@samba.org>2012-08-16 19:44:00 +0200
commitcbe25105c7fc51b178bf4df217812ccf48c472a1 (patch)
tree9cd3fca093501e81fdfb4a767b4d8dad05bdd323 /source3/utils/interact.h
parentb83cd05ce1ff3357428cbc789ac4dbd08aa706ec (diff)
downloadsamba-cbe25105c7fc51b178bf4df217812ccf48c472a1.tar.gz
samba-cbe25105c7fc51b178bf4df217812ccf48c472a1.tar.bz2
samba-cbe25105c7fc51b178bf4df217812ccf48c472a1.zip
s3-g_lock: Make g_lock_lock more robust
If for some reason the cleanup of dbwrap_watch_send does not work properly, we might starve indefinitely. Make the lock routine more robust by retrying every 5-10 seconds. g_lock_trylock will clean up orphaned entries. Signed-off-by: Christian Ambach <ambi@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Thu Aug 16 19:44:00 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/utils/interact.h')
0 files changed, 0 insertions, 0 deletions