diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /library/cpp/messagebus | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'library/cpp/messagebus')
-rw-r--r-- | library/cpp/messagebus/all.lwt | 8 | ||||
-rw-r--r-- | library/cpp/messagebus/dummy_debugger.h | 9 | ||||
-rw-r--r-- | library/cpp/messagebus/extra_ref.h | 36 | ||||
-rw-r--r-- | library/cpp/messagebus/rain_check/test/TestRainCheck.py | 8 | ||||
-rw-r--r-- | library/cpp/messagebus/ref_counted.h | 6 | ||||
-rw-r--r-- | library/cpp/messagebus/test/TestMessageBus.py | 8 | ||||
-rw-r--r-- | library/cpp/messagebus/test/perftest/stackcollect.diff | 13 |
7 files changed, 0 insertions, 88 deletions
diff --git a/library/cpp/messagebus/all.lwt b/library/cpp/messagebus/all.lwt deleted file mode 100644 index 0f04be4b2c..0000000000 --- a/library/cpp/messagebus/all.lwt +++ /dev/null @@ -1,8 +0,0 @@ -Blocks { - ProbeDesc { - Group: "MessagebusRare" - } - Action { - PrintToStderrAction {} - } -} diff --git a/library/cpp/messagebus/dummy_debugger.h b/library/cpp/messagebus/dummy_debugger.h deleted file mode 100644 index 89a4e18716..0000000000 --- a/library/cpp/messagebus/dummy_debugger.h +++ /dev/null @@ -1,9 +0,0 @@ -#pragma once - -#include <util/datetime/base.h> -#include <util/stream/output.h> - -#define MB_TRACE() \ - do { \ - Cerr << TInstant::Now() << " " << __FILE__ << ":" << __LINE__ << " " << __FUNCTION__ << Endl; \ - } while (false) diff --git a/library/cpp/messagebus/extra_ref.h b/library/cpp/messagebus/extra_ref.h deleted file mode 100644 index 2927123266..0000000000 --- a/library/cpp/messagebus/extra_ref.h +++ /dev/null @@ -1,36 +0,0 @@ -#pragma once - -#include <util/system/yassert.h> - -class TExtraRef { - TAtomic Holds; - -public: - TExtraRef() - : Holds(false) - { - } - ~TExtraRef() { - Y_VERIFY(!Holds); - } - - template <typename TThis> - void Retain(TThis* thiz) { - if (AtomicGet(Holds)) { - return; - } - if (AtomicCas(&Holds, 1, 0)) { - thiz->Ref(); - } - } - - template <typename TThis> - void Release(TThis* thiz) { - if (!AtomicGet(Holds)) { - return; - } - if (AtomicCas(&Holds, 0, 1)) { - thiz->UnRef(); - } - } -}; diff --git a/library/cpp/messagebus/rain_check/test/TestRainCheck.py b/library/cpp/messagebus/rain_check/test/TestRainCheck.py deleted file mode 100644 index 92ed727b62..0000000000 --- a/library/cpp/messagebus/rain_check/test/TestRainCheck.py +++ /dev/null @@ -1,8 +0,0 @@ -from devtools.fleur.ytest import group, constraint -from devtools.fleur.ytest.integration import UnitTestGroup - -@group -@constraint('library.messagebus') -class TestMessageBus3(UnitTestGroup): - def __init__(self, context): - UnitTestGroup.__init__(self, context, 'MessageBus', 'library-messagebus-rain_check-test-ut') diff --git a/library/cpp/messagebus/ref_counted.h b/library/cpp/messagebus/ref_counted.h deleted file mode 100644 index 29b87764e3..0000000000 --- a/library/cpp/messagebus/ref_counted.h +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once - -class TAtomicRefCountedObject: public TAtomicRefCount<TAtomicRefCountedObject> { - virtual ~TAtomicRefCountedObject() { - } -}; diff --git a/library/cpp/messagebus/test/TestMessageBus.py b/library/cpp/messagebus/test/TestMessageBus.py deleted file mode 100644 index 0bbaa0a313..0000000000 --- a/library/cpp/messagebus/test/TestMessageBus.py +++ /dev/null @@ -1,8 +0,0 @@ -from devtools.fleur.ytest import group, constraint -from devtools.fleur.ytest.integration import UnitTestGroup - -@group -@constraint('library.messagebus') -class TestMessageBus(UnitTestGroup): - def __init__(self, context): - UnitTestGroup.__init__(self, context, 'MessageBus', 'library-messagebus-test-ut') diff --git a/library/cpp/messagebus/test/perftest/stackcollect.diff b/library/cpp/messagebus/test/perftest/stackcollect.diff deleted file mode 100644 index 658f0141b3..0000000000 --- a/library/cpp/messagebus/test/perftest/stackcollect.diff +++ /dev/null @@ -1,13 +0,0 @@ -Index: test/perftest/CMakeLists.txt -=================================================================== ---- test/perftest/CMakeLists.txt (revision 1088840) -+++ test/perftest/CMakeLists.txt (working copy) -@@ -3,7 +3,7 @@ PROGRAM(messagebus_perftest) - OWNER(nga) - - PEERDIR( -- library/cpp/execprofile -+ junk/davenger/stackcollect - library/cpp/messagebus - library/cpp/messagebus/protobuf - library/cpp/sighandler |