summaryrefslogtreecommitdiffstats
path: root/net/Socket.cpp
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2017-04-05 17:58:52 +0100
committerMichael Meeks <michael.meeks@collabora.com>2017-04-05 17:58:52 +0100
commit185540bcde22baaaa66d530f224ffdfbc5130560 (patch)
tree2adf2ace31f9d08644b0bfb6019b50c63d3f4c45 /net/Socket.cpp
parentRun fc-cache before running the unit tests too. (diff)
downloadonline-185540bcde22baaaa66d530f224ffdfbc5130560.tar.gz
online-185540bcde22baaaa66d530f224ffdfbc5130560.zip
Inhibit thread checks for SIGUSR1 handling.
USR1 handling is not thread-safe; we walk the structures and hope.
Diffstat (limited to 'net/Socket.cpp')
-rw-r--r--net/Socket.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Socket.cpp b/net/Socket.cpp
index 55bd4fb560..21ab00f22a 100644
--- a/net/Socket.cpp
+++ b/net/Socket.cpp
@@ -24,6 +24,7 @@
#include "WebSocketHandler.hpp"
int SocketPoll::DefaultPollTimeoutMs = 5000;
+std::atomic<bool> Socket::InhibitThreadChecks(false);
// help with initialization order
namespace {