diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-05-20 19:43:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:16 -0500 |
commit | e0ebb46cff5d45a0bda6dd525e25ae71dec7ed57 (patch) | |
tree | 679286f20ff833736661783341379d1dc837e32c /source3/torture | |
parent | 23c0e27b6cbedff77ec427191e9f56ee749414aa (diff) | |
download | samba-e0ebb46cff5d45a0bda6dd525e25ae71dec7ed57.tar.gz samba-e0ebb46cff5d45a0bda6dd525e25ae71dec7ed57.tar.bz2 samba-e0ebb46cff5d45a0bda6dd525e25ae71dec7ed57.zip |
r23023: Get rid of the only caller of message_send_pid_with_timeout(). This replaces
the timeouts on the individual message send calls with an overall timeout on
all the calls.
The timeout in message_send_pid_with_timeout() did not make much sense IMO
anyway, because the tdb_fetch() for the messages_pending_for_pid was blocking
in a readlock anyway, we "just" did the timeout for the write lock.
This new code goes through the full wait for the write lock once and then
breaks out of sending the notifies instead of running into the timeout per
target.
Jerry, please check this!
Thanks,
Volker
(This used to be commit 697099f06e1aa432187f802b9c2632607e3de46e)
Diffstat (limited to 'source3/torture')
0 files changed, 0 insertions, 0 deletions