diff options
author | pg <pg@yandex-team.com> | 2023-11-15 02:42:57 +0300 |
---|---|---|
committer | pg <pg@yandex-team.com> | 2023-11-15 03:02:38 +0300 |
commit | fb1cf50f7001c043a554a06dcdf326794c7581c6 (patch) | |
tree | 6bb097f1bbb954cb2117578af46de451cdf17024 | |
parent | bac0c121a821c1c743e177c3794c2ed4026a87a1 (diff) | |
download | ydb-fb1cf50f7001c043a554a06dcdf326794c7581c6.tar.gz |
-rw-r--r-- | yt/yt/core/concurrency/fiber_scheduler_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/core/concurrency/fiber_scheduler_thread.cpp b/yt/yt/core/concurrency/fiber_scheduler_thread.cpp index 4969f3b832..60f0d81b8f 100644 --- a/yt/yt/core/concurrency/fiber_scheduler_thread.cpp +++ b/yt/yt/core/concurrency/fiber_scheduler_thread.cpp @@ -91,12 +91,12 @@ YT_THREAD_LOCAL(TFiberContext*) FiberContext; // Forbid inlining these accessors to prevent the compiler from // miss-optimizing TLS access in presence of fiber context switches. -TFiberContext* TryGetFiberContext() +Y_NO_INLINE TFiberContext* TryGetFiberContext() { return FiberContext; } -void SetFiberContext(TFiberContext* context) +Y_NO_INLINE void SetFiberContext(TFiberContext* context) { FiberContext = context; } |