aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/context.h
Commit message (Collapse)AuthorAgeFilesLines
* YT-21001: FiberContext::BeforeSwitch is now properly inlinedarkady-e1ppa2024-02-191-10/+15
| | | | | Improve annotations 5bd824bae00ce17bf4db9b1181455252e94f0b9f
* Mute -Wdeprecated-declarations error when thread sanitizer enabled on darwin ↵hiddenpath2023-05-091-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | platform При сборке проектов с ```--sanitize=thread``` под **darwin**, по умолчанию попадет ```util``` и его часть ```system/context.h```, где в случае ```thread_sanitizer_enabled``` выставляется ```USE_UCONTEXT_CONT```, что приводит к использованию [депрекейтнутного](https://opensource.apple.com/source/libplatform/libplatform-125/include/ucontext.h.auto.html) ```<ucontext.h>``` из [macos_sdk](https://a.yandex-team.ru/arcadia/build/platform/macos_sdk/ya.make?rev=rXXXXXX#L6). Без должных изменений, сборка падает с ошибкой. ```In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13: In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31: In file included from /Users/hiddenpath/arcadia/util/system/context.h:46: /Users/hiddenpath/.ya/tools/v4/2088833948/usr/include/ucontext.h:51:2: error: The deprecated ucontext routines require _XOPEN_SOURCE to be defined #error The deprecated ucontext routines require _XOPEN_SOURCE to be defined ^ In file included from /Users/hiddenpath/.ya/build/build_root/fnjm/000128/util/all_system_1.cpp:13: In file included from /Users/hiddenpath/arcadia/util/system/context.cpp:31: /Users/hiddenpath/arcadia/util/system/context.h:68:9: error: use of undeclared identifier 'getcontext' getcontext(&Ctx_); ^ /Users/hiddenpath/arcadia/util/system/context.h:72:9: error: use of undeclared identifier 'getcontext' getcontext(&Ctx_); ^ /Users/hiddenpath/arcadia/util/system/context.h:80:9: error: use of undeclared identifier 'makecontext' makecontext(&Ctx_, (ucontext_func_t)ContextTrampoLine, 1, c.TrampoLine); ^ /Users/hiddenpath/arcadia/util/system/context.h:87:9: error: use of undeclared identifier 'swapcontext' swapcontext(&Ctx_, &next->Ctx_); ^ 5 errors generated. Failed
* Clang14: Fix library/cpp/coroutine/engine under tsanpg2022-09-291-1/+3
|
* Restoring authorship annotation for <halin-george@yandex-team.ru>. Commit 2 ↵halin-george2022-02-101-1/+1
| | | | of 2.
* Restoring authorship annotation for <halin-george@yandex-team.ru>. Commit 1 ↵halin-george2022-02-101-1/+1
| | | | of 2.
* Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 2 of 2.kimkim2022-02-101-1/+1
|
* Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 1 of 2.kimkim2022-02-101-1/+1
|
* Restoring authorship annotation for Alexander Gololobov ↵Alexander Gololobov2022-02-101-1/+1
| | | | <davenger@yandex-team.com>. Commit 2 of 2.
* Restoring authorship annotation for Alexander Gololobov ↵Alexander Gololobov2022-02-101-1/+1
| | | | <davenger@yandex-team.com>. Commit 1 of 2.
* Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 of 2.agorodilov2022-02-101-3/+3
|
* Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 1 of 2.agorodilov2022-02-101-3/+3
|
* Restoring authorship annotation for Ivan Komarov <Ivan.Komarov@dfyz.info>. ↵Ivan Komarov2022-02-101-1/+1
| | | | Commit 2 of 2.
* Restoring authorship annotation for Ivan Komarov <Ivan.Komarov@dfyz.info>. ↵Ivan Komarov2022-02-101-1/+1
| | | | Commit 1 of 2.
* Restoring authorship annotation for Ruslan Kovalev ↵Ruslan Kovalev2022-02-101-1/+1
| | | | <ruslan.a.kovalev@gmail.com>. Commit 2 of 2.
* Restoring authorship annotation for Ruslan Kovalev ↵Ruslan Kovalev2022-02-101-1/+1
| | | | <ruslan.a.kovalev@gmail.com>. Commit 1 of 2.
* Restoring authorship annotation for <leo@yandex-team.ru>. Commit 2 of 2.leo2022-02-101-1/+1
|
* Restoring authorship annotation for <leo@yandex-team.ru>. Commit 1 of 2.leo2022-02-101-1/+1
|
* Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. ↵Vlad Yaroslavlev2022-02-101-8/+8
| | | | Commit 2 of 2.
* Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. ↵Vlad Yaroslavlev2022-02-101-8/+8
| | | | Commit 1 of 2.
* Restoring authorship annotation for <prime@yandex-team.ru>. Commit 2 of 2.prime2022-02-101-1/+1
|
* Restoring authorship annotation for <prime@yandex-team.ru>. Commit 1 of 2.prime2022-02-101-1/+1
|
* Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 of 2.somov2022-02-101-2/+2
|
* Restoring authorship annotation for <somov@yandex-team.ru>. Commit 1 of 2.somov2022-02-101-2/+2
|
* Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. ↵Anton Samokhvalov2022-02-101-157/+157
| | | | Commit 2 of 2.
* Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. ↵Anton Samokhvalov2022-02-101-157/+157
| | | | Commit 1 of 2.
* Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.thegeorg2022-02-101-4/+4
|
* Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.thegeorg2022-02-101-4/+4
|
* intermediate changesDevtools Arcadia2022-02-071-0/+181
ref:cde9a383711a11544ce7e107a78147fb96cc4029