diff options
author | Max Kellermann <max@duempel.org> | 2013-01-10 00:57:18 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-10 00:57:18 +0100 |
commit | 5c3c5066382a22b1bf19ebbcc320e222b6812bfb (patch) | |
tree | 482eb1db3aba5df012ea598db39a346993644360 /src/SignalHandlers.cxx | |
parent | ecd5eb02c5094d3160db9d92937f7011e172c254 (diff) |
GlobalEvents: lock-less operation using std::atomic
Use a bit field instead of a mutex-protected bool array.
Diffstat (limited to 'src/SignalHandlers.cxx')
-rw-r--r-- | src/SignalHandlers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SignalHandlers.cxx b/src/SignalHandlers.cxx index 331028bde..4fd7675ff 100644 --- a/src/SignalHandlers.cxx +++ b/src/SignalHandlers.cxx @@ -40,7 +40,7 @@ static void exit_signal_handler(G_GNUC_UNUSED int signum) static void reload_signal_handler(G_GNUC_UNUSED int signum) { - GlobalEvents::FastEmit(GlobalEvents::RELOAD); + GlobalEvents::Emit(GlobalEvents::RELOAD); } static void |