summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-03-19 21:52:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:42 -0500
commit496dbdf4350ffc5f53c9f8f734d2c29b312ff11b (patch)
tree5bd6688396dd585c4ecacab160b46bcb15496063 /source3/libads
parent3fdef9433a9e08064b32e34a16ce62a60ce144fb (diff)
downloadsamba-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/libads')
0 files changed, 0 insertions, 0 deletions