aboutsummaryrefslogtreecommitdiff
path: root/src/SignalHandlers.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-10 00:57:18 +0100
committerMax Kellermann <max@duempel.org>2013-01-10 00:57:18 +0100
commit5c3c5066382a22b1bf19ebbcc320e222b6812bfb (patch)
tree482eb1db3aba5df012ea598db39a346993644360 /src/SignalHandlers.cxx
parentecd5eb02c5094d3160db9d92937f7011e172c254 (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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SignalHandlers.cxx b/src/SignalHandlers.cxx
index 331028bd..4fd7675f 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