]> git.tuebingen.mpg.de Git - paraslash.git/commit
filter: Force a minimal select timeout if something was converted.
authorAndre Noll <maan@systemlinux.org>
Sun, 10 May 2009 15:40:42 +0000 (17:40 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 10 May 2009 15:40:42 +0000 (17:40 +0200)
commit0981b6cfe49fedf9855e42bbde1f81a89c6a4ea1
tree3a885759099f5c5e31feae28066d52c6fa16b354
parent33b50d4544476d1e98a520ed2438b5a3aa5073a7
filter: Force a minimal select timeout if something was converted.

When filter_preselect() runs. other pre_select functions might have
already been called and decided to do nothing, e.g. because their
output buffer was full or the input buffer was empty.

If this call to filter_preselect() changed any of the involved buffers,
we want those other pre_select() functions to be called ASAP. So force
a minimal timeout for the next select call to avoid unnecessary delays.
filter_common.c