diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-17 08:15:44 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-17 09:00:07 +0300 |
commit | 784925324fd115c37bc98c5bbfe64c15f9966d74 (patch) | |
tree | f763f6eaacfcd4757d249977aaddfa4e9b2a355b /library/cpp/threading | |
parent | d6c75d9ec33559b29eb61a8f2e17cbca30fd5ae2 (diff) | |
download | ydb-784925324fd115c37bc98c5bbfe64c15f9966d74.tar.gz |
Y_FAIL->Y_ABORT at '^li'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/threading')
-rw-r--r-- | library/cpp/threading/light_rw_lock/lightrwlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/threading/light_rw_lock/lightrwlock.h b/library/cpp/threading/light_rw_lock/lightrwlock.h index bfe4e9b00cd..abb97d6f7cb 100644 --- a/library/cpp/threading/light_rw_lock/lightrwlock.h +++ b/library/cpp/threading/light_rw_lock/lightrwlock.h @@ -124,7 +124,7 @@ namespace NS_LightRWLock { return; if (errno == EINTR) continue; - Y_FAIL("futex error"); + Y_ABORT("futex error"); } } } @@ -133,7 +133,7 @@ namespace NS_LightRWLock { const int result = syscall(SYS_futex, &fvar, FUTEX_WAKE_PRIVATE, amount, NULL, NULL, 0); if (Y_UNLIKELY(result == -1)) - Y_FAIL("futex error"); + Y_ABORT("futex error"); } } |