diff options
author | luckygeck <luckygeck@yandex-team.ru> | 2022-02-10 16:49:18 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:18 +0300 |
commit | cb691264f012c552bac85a9fe352baa062cd81dd (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/thread | |
parent | 48ea53d4c114c948fa16fee5ec66de2552c93471 (diff) | |
download | ydb-cb691264f012c552bac85a9fe352baa062cd81dd.tar.gz |
Restoring authorship annotation for <luckygeck@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/thread')
-rw-r--r-- | util/thread/lfqueue.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/thread/lfqueue.h b/util/thread/lfqueue.h index bda92551d7..ab523631e4 100644 --- a/util/thread/lfqueue.h +++ b/util/thread/lfqueue.h @@ -393,14 +393,14 @@ public: Y_UNUSED(t.Release()); } - inline bool IsEmpty() { - return Queue.IsEmpty(); - } - - inline TCounter GetCounter() { - return Queue.GetCounter(); - } - + inline bool IsEmpty() { + return Queue.IsEmpty(); + } + + inline TCounter GetCounter() { + return Queue.GetCounter(); + } + private: TLockFreeQueue<T*, TCounter> Queue; }; |