aboutsummaryrefslogtreecommitdiff
path: root/src/GlobalEvents.hxx
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/GlobalEvents.hxx
parentecd5eb02c5094d3160db9d92937f7011e172c254 (diff)
GlobalEvents: lock-less operation using std::atomic
Use a bit field instead of a mutex-protected bool array.
Diffstat (limited to 'src/GlobalEvents.hxx')
-rw-r--r--src/GlobalEvents.hxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/GlobalEvents.hxx b/src/GlobalEvents.hxx
index ee977936..458e77d7 100644
--- a/src/GlobalEvents.hxx
+++ b/src/GlobalEvents.hxx
@@ -58,13 +58,6 @@ namespace GlobalEvents {
void Register(Event event, Handler handler);
void Emit(Event event);
-
- /**
- * Similar to event_pipe_emit(), but aimed for use in signal handlers:
- * it doesn't lock the mutex, and doesn't log on error. That makes it
- * potentially lossy, but for its intended use, that does not matter.
- */
- void FastEmit(Event event);
}
#endif /* MAIN_NOTIFY_H */