diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-03-19 21:52:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:42 -0500 |
commit | 496dbdf4350ffc5f53c9f8f734d2c29b312ff11b (patch) | |
tree | 5bd6688396dd585c4ecacab160b46bcb15496063 /source3/include | |
parent | 3fdef9433a9e08064b32e34a16ce62a60ce144fb (diff) | |
download | samba-496dbdf4350ffc5f53c9f8f734d2c29b312ff11b.tar.gz samba-496dbdf4350ffc5f53c9f8f734d2c29b312ff11b.tar.bz2 samba-496dbdf4350ffc5f53c9f8f734d2c29b312ff11b.zip |
r21879: Move process_blocking_lock_queue to a timed event.
The idea is that we have blocking.c:brl_timeout as a timed
event that is present whenever we do have a blocking lock
pending. It fires brl_timeout_fn() which calls
process_blocking_lock_queue().
Whenever we make changes to blocking_lock_queue, we trigger
a recalc_brl_timeout() which sets a new brl_timout event if
necessary. This makes the call to
blocking_locks_timeout_ms() in setup_select_timeout()
unnecessary, this is implicitly done in
event_add_to_select_args() from the timed events.
Volker
(This used to be commit 7e31b8ce21de803ac1f8967967393341a3f44ac3)
Diffstat (limited to 'source3/include')
0 files changed, 0 insertions, 0 deletions