summaryrefslogtreecommitdiffstats
path: root/util/system/event_ut.cpp
diff options
context:
space:
mode:
authoreeight <[email protected]>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /util/system/event_ut.cpp
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/event_ut.cpp')
-rw-r--r--util/system/event_ut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/event_ut.cpp b/util/system/event_ut.cpp
index 2506cb7a913..5e94a0890fb 100644
--- a/util/system/event_ut.cpp
+++ b/util/system/event_ut.cpp
@@ -3,7 +3,7 @@
#include <library/cpp/testing/unittest/registar.h>
-#include <util/thread/pool.h>
+#include <util/thread/pool.h>
namespace {
struct TSharedData {
@@ -85,7 +85,7 @@ namespace {
Y_UNIT_TEST_SUITE(EventTest) {
Y_UNIT_TEST(WaitAndSignalTest) {
TSharedData data;
- TThreadPool queue;
+ TThreadPool queue;
queue.Start(5);
for (size_t i = 0; i < 5; ++i) {
UNIT_ASSERT(queue.Add(new TThreadTask(data, i)));
@@ -99,7 +99,7 @@ Y_UNIT_TEST_SUITE(EventTest) {
// test for problem detected by thread-sanitizer (signal/wait race) SEARCH-2113
const size_t limit = 200;
TManualEvent event[limit];
- TThreadPool queue;
+ TThreadPool queue;
queue.Start(limit);
TVector<THolder<IObjectInQueue>> tasks;
for (size_t i = 0; i < limit; ++i) {
@@ -122,7 +122,7 @@ Y_UNIT_TEST_SUITE(EventTest) {
tasks.emplace_back(std::move(owner));
}
- TThreadPool queue;
+ TThreadPool queue;
queue.Start(4);
for (auto& task : tasks) {
UNIT_ASSERT(queue.Add(task.Get()));