summaryrefslogtreecommitdiff
path: root/src/kqueue.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-09-14 15:16:48 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-09-14 15:16:48 +0200
commit78b02d142e82015a2146b7d40f7e0a729ad0e89b (patch)
tree1d7519a8e06131fa83cebfd1845470c750fecc79 /src/kqueue.hpp
parentcf499ee016340a8534e24084a481a02498b44e70 (diff)
Minor optimisation in message distribution algorithm
If several of the outbound pipes become passive while sending a single message, the refcount on the message is adjusted once only, not multiple times. It's an atomic operation so the cost is not negligible. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/kqueue.hpp')
0 files changed, 0 insertions, 0 deletions