diff options
author | Volker Lendecke <vl@samba.org> | 2012-08-10 17:00:38 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-08-16 19:44:00 +0200 |
commit | cbe25105c7fc51b178bf4df217812ccf48c472a1 (patch) | |
tree | 9cd3fca093501e81fdfb4a767b4d8dad05bdd323 /source3/pam_smbpass | |
parent | b83cd05ce1ff3357428cbc789ac4dbd08aa706ec (diff) | |
download | samba-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/pam_smbpass')
0 files changed, 0 insertions, 0 deletions