aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/context.cpp
diff options
context:
space:
mode:
authorkimkim <kimkim@yandex-team.ru>2022-02-10 16:49:27 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:27 +0300
commit13f84424ed9975f6827d9786087c6fe6ea265cda (patch)
treeb94acc282c49a5de96b9e3e19feead21736f3273 /util/system/context.cpp
parent35f29a67a6b8e50e1826c837330086049114c5ba (diff)
downloadydb-13f84424ed9975f6827d9786087c6fe6ea265cda.tar.gz
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/context.cpp')
-rw-r--r--util/system/context.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/context.cpp b/util/system/context.cpp
index ad993090884..82d113b09c3 100644
--- a/util/system/context.cpp
+++ b/util/system/context.cpp
@@ -25,7 +25,7 @@ namespace __cxxabiv1 {
#endif
#include <util/stream/output.h>
-#include <util/generic/yexception.h>
+#include <util/generic/yexception.h>
#define FROM_CONTEXT_IMPL
#include "context.h"
@@ -220,10 +220,10 @@ void ContextTrampoLine(void* arg) {
TContMachineContext::TContMachineContext()
: Fiber_(ConvertThreadToFiber(this))
, MainFiber_(true)
-{
+{
Y_ENSURE(Fiber_, TStringBuf("fiber error"));
-}
-
+}
+
TContMachineContext::TContMachineContext(const TContClosure& c)
: Fiber_(CreateFiber(c.Stack.size(), (LPFIBER_START_ROUTINE)ContextTrampoLine, (LPVOID)c.TrampoLine))
, MainFiber_(false)