diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-09-14 15:16:48 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-09-14 15:16:48 +0200 |
commit | 78b02d142e82015a2146b7d40f7e0a729ad0e89b (patch) | |
tree | 1d7519a8e06131fa83cebfd1845470c750fecc79 /src/poll.hpp | |
parent | cf499ee016340a8534e24084a481a02498b44e70 (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/poll.hpp')
0 files changed, 0 insertions, 0 deletions