diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-10 10:09:12 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-10 10:26:34 +0300 |
commit | 335c640261b6272bc052a251d9b8780150090b45 (patch) | |
tree | 7d4a4954aacb63514087edaaf1cd0c9999fcb94d /util/thread | |
parent | b359f0072dbc794d0287c26984dd0ea0a2c27efc (diff) | |
download | ydb-335c640261b6272bc052a251d9b8780150090b45.tar.gz |
Y_VERIFY->Y_ABORT_UNLESS at ^u
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'util/thread')
-rw-r--r-- | util/thread/pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/thread/pool.cpp b/util/thread/pool.cpp index 1711048f732..e312b6df471 100644 --- a/util/thread/pool.cpp +++ b/util/thread/pool.cpp @@ -293,7 +293,7 @@ private: // If you get an error here, it means you've used fork(2) in multi-threaded environment and probably created thread pools often. // Don't use fork(2) in multi-threaded programs, don't create thread pools often. // The mutex is locked after fork iff the fork(2) call was concurrent with RegisterObject / UnregisterObject in another thread. - Y_VERIFY(guard.WasAcquired(), "Failed to acquire ActionMutex after fork"); + Y_ABORT_UNLESS(guard.WasAcquired(), "Failed to acquire ActionMutex after fork"); for (auto it = RegisteredObjects.Begin(); it != RegisteredObjects.End(); ++it) { it->AtforkAction(); |