aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine
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/coroutine/engine
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/cpp/coroutine/engine')
-rw-r--r--library/cpp/coroutine/engine/stack/benchmark/ya.make11
-rw-r--r--library/cpp/coroutine/engine/stack/ut/ya.make15
-rw-r--r--library/cpp/coroutine/engine/ut/ya.make7
-rw-r--r--library/cpp/coroutine/engine/ya.make35
4 files changed, 68 insertions, 0 deletions
diff --git a/library/cpp/coroutine/engine/stack/benchmark/ya.make b/library/cpp/coroutine/engine/stack/benchmark/ya.make
new file mode 100644
index 0000000000..f2fca4aeb5
--- /dev/null
+++ b/library/cpp/coroutine/engine/stack/benchmark/ya.make
@@ -0,0 +1,11 @@
+G_BENCHMARK()
+
+SRCS(
+ alloc_bm.cpp
+)
+
+PEERDIR(
+ library/cpp/coroutine/engine
+)
+
+END() \ No newline at end of file
diff --git a/library/cpp/coroutine/engine/stack/ut/ya.make b/library/cpp/coroutine/engine/stack/ut/ya.make
new file mode 100644
index 0000000000..e3f33ecf6c
--- /dev/null
+++ b/library/cpp/coroutine/engine/stack/ut/ya.make
@@ -0,0 +1,15 @@
+GTEST()
+
+SRCS(
+ stack_allocator_ut.cpp
+ stack_guards_ut.cpp
+ stack_pool_ut.cpp
+ stack_ut.cpp
+ stack_utils_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/coroutine/engine
+)
+
+END() \ No newline at end of file
diff --git a/library/cpp/coroutine/engine/ut/ya.make b/library/cpp/coroutine/engine/ut/ya.make
new file mode 100644
index 0000000000..450c3bdd7c
--- /dev/null
+++ b/library/cpp/coroutine/engine/ut/ya.make
@@ -0,0 +1,7 @@
+UNITTEST_FOR(library/cpp/coroutine/engine)
+
+SRCS(
+ coroutine_ut.cpp
+)
+
+END()
diff --git a/library/cpp/coroutine/engine/ya.make b/library/cpp/coroutine/engine/ya.make
new file mode 100644
index 0000000000..fcd9b87741
--- /dev/null
+++ b/library/cpp/coroutine/engine/ya.make
@@ -0,0 +1,35 @@
+LIBRARY()
+
+GENERATE_ENUM_SERIALIZATION(poller.h)
+
+GENERATE_ENUM_SERIALIZATION(stack/stack_common.h)
+
+PEERDIR(
+ contrib/libs/libc_compat
+ library/cpp/containers/intrusive_rb_tree
+ library/cpp/deprecated/atomic
+)
+
+SRCS(
+ cont_poller.cpp
+ helper.cpp
+ impl.cpp
+ iostatus.cpp
+ network.cpp
+ poller.cpp
+ sockpool.cpp
+ stack/stack.cpp
+ stack/stack_allocator.cpp
+ stack/stack_guards.cpp
+ stack/stack_storage.cpp
+ stack/stack_utils.cpp
+ trampoline.cpp
+)
+
+END()
+
+RECURSE(
+ stack/benchmark
+ stack/ut
+ ut
+)