diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-16 12:28:53 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-16 13:21:10 +0100 |
commit | be919d6faed198cdc29322a4d9491946c0b044b3 (patch) | |
tree | e8ec45fd481ebccaaed7811256ddaec3c8fc4da2 /testsuite/libsmbclient/src | |
parent | 725b3654f831fbe0388cc09f46269903c9eef1d7 (diff) | |
download | samba-be919d6faed198cdc29322a4d9491946c0b044b3.tar.gz samba-be919d6faed198cdc29322a4d9491946c0b044b3.tar.bz2 samba-be919d6faed198cdc29322a4d9491946c0b044b3.zip |
s3: Avoid starving locks when many processes die at the same time
In g_lock_unlock we have a little race between the process_exists and
messaging_send call: We only send to 5 waiters now, they all might have died
between us checking their existence and sending the message. This change makes
g_lock_lock retry at least once every minute.
Diffstat (limited to 'testsuite/libsmbclient/src')
0 files changed, 0 insertions, 0 deletions