Files
scylladb/core
Raphael S. Carvalho be7dbcbf50 core: improve reactor::receive_signal()
receive_signal() uses the unordered map _signal_handlers (signo mapped to
signal_handler) to either register a signal or find an existing one, and
from there get a future from the promise associated with that signal.
The problem is _signal_handlers.emplace() being called unconditionally,
resulting in the constructor from signal_handler always being called to
needlessly re-register the same handler, even when the signo is already
inserted in the map.

Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
2015-01-25 13:10:55 +02:00
..
2014-10-22 16:37:36 +03:00
2014-10-05 19:58:12 +03:00
2015-01-13 19:08:48 +02:00
2015-01-15 18:22:07 +02:00
2014-11-05 11:35:50 +02:00
2014-10-30 14:08:23 +02:00
2015-01-12 17:29:02 +02:00
2014-10-21 16:58:35 +02:00