aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/threading/future
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/cpp/threading/future
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
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
+)