aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/sighandler
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/sighandler
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
downloadydb-bd5ef432f5cfb1e18851381329d94665a4c22470.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/sighandler')
-rw-r--r--library/cpp/sighandler/async_signals_handler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/sighandler/async_signals_handler.cpp b/library/cpp/sighandler/async_signals_handler.cpp
index 18121e227d..00ce1c18fb 100644
--- a/library/cpp/sighandler/async_signals_handler.cpp
+++ b/library/cpp/sighandler/async_signals_handler.cpp
@@ -194,10 +194,10 @@ namespace {
void SetAsyncSignalHandler(int signum, TAutoPtr<TEventHandler> handler) {
static TAtomic lock;
- if (Y_UNLIKELY(SIGNALS_HANDLER == nullptr)) {
+ if (Y_UNLIKELY(SIGNALS_HANDLER == nullptr)) {
TGuard<TAtomic> dnd(lock);
- if (SIGNALS_HANDLER == nullptr) {
+ if (SIGNALS_HANDLER == nullptr) {
// NEVERS GETS DESTROYED
SIGNALS_HANDLER = new TAsyncSignalsHandler();
}
@@ -225,7 +225,7 @@ namespace {
Func = func;
}
- int Handle(int signum) override {
+ int Handle(int signum) override {
if (Func) {
Func(signum);
}