diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/coroutine/engine/trampoline.h | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine/trampoline.h')
-rw-r--r-- | library/cpp/coroutine/engine/trampoline.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/coroutine/engine/trampoline.h b/library/cpp/coroutine/engine/trampoline.h index 37b61cf015..23cc587c13 100644 --- a/library/cpp/coroutine/engine/trampoline.h +++ b/library/cpp/coroutine/engine/trampoline.h @@ -1,20 +1,20 @@ #pragma once - + #include "stack/stack_common.h" #include "stack/stack.h" #include <util/generic/noncopyable.h> #include <util/generic/ptr.h> -#include <util/system/context.h> -#include <util/system/defaults.h> - +#include <util/system/context.h> +#include <util/system/defaults.h> + #if !defined(STACK_GROW_DOWN) # error "unsupported" #endif -class TCont; +class TCont; typedef void (*TContFunc)(TCont*, void*); - + namespace NCoro { namespace NStack { @@ -31,9 +31,9 @@ namespace NCoro { TFunc f, TCont* cont ) noexcept; - + TArrayRef<char> Stack() noexcept; - + TExceptionSafeContext* Context() noexcept { return &Ctx_; } @@ -56,5 +56,5 @@ namespace NCoro { TExceptionSafeContext Ctx_; TFunc Func_; TCont* const Cont_; - }; -} + }; +} |