aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/future
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/threading/future
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'library/cpp/threading/future')
-rw-r--r--library/cpp/threading/future/mt_ut/ya.make12
-rw-r--r--library/cpp/threading/future/perf/ya.make11
-rw-r--r--library/cpp/threading/future/ut/ya.make10
-rw-r--r--library/cpp/threading/future/ya.make25
4 files changed, 58 insertions, 0 deletions
diff --git a/library/cpp/threading/future/mt_ut/ya.make b/library/cpp/threading/future/mt_ut/ya.make
new file mode 100644
index 0000000000..fee088813a
--- /dev/null
+++ b/library/cpp/threading/future/mt_ut/ya.make
@@ -0,0 +1,12 @@
+UNITTEST_FOR(library/cpp/threading/future)
+
+SRCS(
+ future_mt_ut.cpp
+)
+
+IF(SANITIZER_TYPE)
+ SIZE(MEDIUM)
+ENDIF()
+
+
+END()
diff --git a/library/cpp/threading/future/perf/ya.make b/library/cpp/threading/future/perf/ya.make
new file mode 100644
index 0000000000..0677420107
--- /dev/null
+++ b/library/cpp/threading/future/perf/ya.make
@@ -0,0 +1,11 @@
+Y_BENCHMARK(library-threading-future-perf)
+
+SRCS(
+ main.cpp
+)
+
+PEERDIR(
+ library/cpp/threading/future
+)
+
+END()
diff --git a/library/cpp/threading/future/ut/ya.make b/library/cpp/threading/future/ut/ya.make
new file mode 100644
index 0000000000..7b18274169
--- /dev/null
+++ b/library/cpp/threading/future/ut/ya.make
@@ -0,0 +1,10 @@
+UNITTEST_FOR(library/cpp/threading/future)
+
+SRCS(
+ async_semaphore_ut.cpp
+ async_ut.cpp
+ future_ut.cpp
+ legacy_future_ut.cpp
+)
+
+END()
diff --git a/library/cpp/threading/future/ya.make b/library/cpp/threading/future/ya.make
new file mode 100644
index 0000000000..32b54ff518
--- /dev/null
+++ b/library/cpp/threading/future/ya.make
@@ -0,0 +1,25 @@
+SUBSCRIBER(
+ swarmer
+)
+
+LIBRARY()
+
+SRCS(
+ async_semaphore.cpp
+ async.cpp
+ core/future.cpp
+ core/fwd.cpp
+ fwd.cpp
+ wait/fwd.cpp
+ wait/wait.cpp
+ wait/wait_group.cpp
+ wait/wait_policy.cpp
+)
+
+END()
+
+RECURSE(
+ mt_ut
+ perf
+ ut
+)