diff options
| author | yazevnul <[email protected]> | 2022-02-10 16:46:46 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:46 +0300 | 
| commit | 8cbc307de0221f84c80c42dcbe07d40727537e2c (patch) | |
| tree | 625d5a673015d1df891e051033e9fcde5c7be4e5 /library/cpp/messagebus/misc/test_sync.h | |
| parent | 30d1ef3941e0dc835be7609de5ebee66958f215a (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus/misc/test_sync.h')
| -rw-r--r-- | library/cpp/messagebus/misc/test_sync.h | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/library/cpp/messagebus/misc/test_sync.h b/library/cpp/messagebus/misc/test_sync.h index be3f4f20b85..a74b5d6f3b5 100644 --- a/library/cpp/messagebus/misc/test_sync.h +++ b/library/cpp/messagebus/misc/test_sync.h @@ -32,7 +32,7 @@ public:      void WaitFor(unsigned n) {          TGuard<TMutex> guard(Mutex); -        Y_VERIFY(Current <= n, "too late, waiting for %d, already %d", n, Current); +        Y_VERIFY(Current <= n, "too late, waiting for %d, already %d", n, Current);           while (n > Current) {              CondVar.WaitI(Mutex); @@ -42,7 +42,7 @@ public:      void WaitForAndIncrement(unsigned n) {          TGuard<TMutex> guard(Mutex); -        Y_VERIFY(Current <= n, "too late, waiting for %d, already %d", n, Current); +        Y_VERIFY(Current <= n, "too late, waiting for %d, already %d", n, Current);           while (n > Current) {              CondVar.WaitI(Mutex); @@ -55,7 +55,7 @@ public:      void CheckAndIncrement(unsigned n) {          TGuard<TMutex> guard(Mutex); -        Y_VERIFY(Current == n, "must be %d, currently %d", n, Current); +        Y_VERIFY(Current == n, "must be %d, currently %d", n, Current);           DoInc();          CondVar.BroadCast(); @@ -64,12 +64,12 @@ public:      void Check(unsigned n) {          TGuard<TMutex> guard(Mutex); -        Y_VERIFY(Current == n, "must be %d, currently %d", n, Current); +        Y_VERIFY(Current == n, "must be %d, currently %d", n, Current);       }  private:      void DoInc() {          unsigned r = ++Current; -        Y_UNUSED(r); +        Y_UNUSED(r);       }  }; | 
