diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:02:09 +0900 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-02-16 10:02:09 +0900 |
commit | 1c763b5eeabe0ac3a4464fcf04c1be24df30876c (patch) | |
tree | 400bc69bb126143a0b34179eb57d5318356a040c /src/fd.hpp | |
parent | 3a760f49e86ef1373b38c184127a1547b44265b2 (diff) |
Stop polling for OUT immediately when no data in pipe
This patch is an optimisation. So far, when there were no data
in the pipe, it was only next out_event that stopped the polling
for POLLOUT. Now, the polling is canceled immediately.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/fd.hpp')
0 files changed, 0 insertions, 0 deletions