summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/threading
Commit message (Collapse)AuthorAgeFilesLines
* YT-21566: Access thread local variables via noinline functionslukyan2024-04-261-5/+5
| | | | 970c33b44a7bd166b2716d86d3d2053dcaf05d7d
* feat contrib: aiogram 3armenqa2024-01-196-208/+0
| | | | Relates: https://st.yandex-team.ru/, https://st.yandex-team.ru/
* Library import 8 (#1074)AlexSm2024-01-181-1/+1
| | | | | * Library import 8 * Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
* External build system generator release 65robot-ya-builder2023-12-051-3/+3
| | | | Update tools: yexport, os-yexport
* add darwin-arm64 CMakeListsdcherednik2023-11-202-0/+40
|
* Active spinlock tracking from pr3151306. Added TracelessGuards to disable ↵arkady-e1ppa2023-11-1616-19/+335
| | | | | | | | | | | | | | | | | | | | mentioned tracking 1) Добавлена возможность инструментировать ваш любимый мьютекс/спинлок/что-либо с методами Acquire/Release со схожим смыслом. Делается это засчет методов ```NThreading::NDetail::RecordSpinlockAcquired```/```NThreading::NDetail::RecordSpinlockReleased```. Они отслеживают число захваченных спинлоков. 2) Добавлен макрос ```REGISTER_TRACKED_SPIN_LOCK_CLASS```, который позволяет номинально проверить на этапе компиляции, что данный спинлок отслеживается. 3) Добавлен метод ```NThreading::VerifyNoSpinlockAffinity```, который коркается, если число захваченных спинлоков больше нуля. 4) Добавлены Traceless версии (почти) всех гардов, чтобы можно было не отслеживать конкретную критическую секцию, если очень нужно. 5) Внутри файберного ```WaitUntilSet``` вызывается ```VerifyNoSpinlockAffinity``` -- делать ```WaitFor``` или ```Yield``` внутри отслеживаемых критических секций нельзя. Если очень хочется -- используем TracelessGuard нужного вида. 6) Теперь отслеживаются такие спинлоки и их наследники: ```TSpinLock```, ```TRecursiveSpinLock```, ```TReaderWriterSpinLock```. 7) Зарегистрированы как отслеживаемые все вышеперечисленные спинлоки и их Padded версии. 8) Все эти действия имеют эффект только в дебаг сборке. В релизе вся эта диагностика стирается.
* Y_VERIFY->Y_ABORT_UNLESS at ^lilnurkh2023-10-091-1/+1
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* YT-19210: expose YQL shared library for YT.max422023-07-299-0/+395
| | | | After this, a new target libyqlplugin.so appears. in open-source cmake build. Diff in open-source YDB repo looks like the following: https://paste.yandex-team.ru/f302bdb4-7ef2-4362-91c7-6ca45f329264
* revert rXXXXXX (see discusstion in pr), will commit again more pci-dss ↵kulikov2023-07-278-355/+0
| | | | friendly way
* try to get rid of locks and allocations for elastic queue thread poolkulikov2023-07-218-0/+355
| | | | | | | | | In case of heavy load and high rps current thread pool implementation seems to have problems at least with contention on lock inside condvar (long futex wait calls from http server listener thread), so try to implement something more efficient: - replace condvar with TEventCounter implementation without internal lock (pthread condvar maintains waiters wakeup order, thread pool doesn't need it); - introduce well-known bounded mpmc queue over ring buffer; - get rid of TDecrementingWrapper; - add options to turn on new pool in library/cpp/http/server and search/daemons (will remove after adoption); - make elastic queue ut check both versions; - workaround problems with android/arm build targets.
* Revert "YT-19324: move YT provider to ydb/library/yql"max422023-06-304-231/+0
| | | | This reverts commit ca272f12fdd0e8d5c3e957fc87939148f1caaf72, reversing changes made to 49f8acfc8b0b5c0071b804423bcf53fda26c7c12.
* YT-19324: move YT provider to ydb/library/yqlmax422023-06-304-0/+231
| | | | | | | | | | | | | | This commit is formed by the following script: https://paste.yandex-team.ru/6f92e4b8-efc5-4d34-948b-15ee2accd7e7/text. This commit has zero effect on all projects that depend on YQL. The summary of changes: - `yql/providers/yt -> ydb/library/yql/providers/yt `- the whole implementation of YT provider is moved into YDB code base for further export as a part of YT YQL plugin shared library; - `yql/providers/stat/{expr_nodes,uploader} -> ydb/library/yql/providers/stat/{expr_nodes,uploader}` - a small interface without implementation and the description of stat expr nodes; - `yql/core/extract_predicate/ut -> ydb/library/yql/core/extract_predicate/ut`; - `yql/core/{ut,ut_common} -> ydb/library/yql/core/{ut,ut_common}`; - `yql/core` is gone; - `yql/library/url_preprocessing -> ydb/library/yql/core/url_preprocessing`. **NB**: all new targets inside `ydb/` are under `IF (NOT CMAKE_EXPORT)` clause which disables them from open-source cmake generation and ya make build. They will be enabled in the subsequent commits.
* add ymake export to ydbalexv-smirnov2023-06-131-0/+31
|
* Intermediate changesrobot-piglet2023-06-022-0/+164
|
* Intermediate changesrobot-piglet2023-05-302-0/+113
|
* Intermediate changesrobot-piglet2023-05-231-2/+6
|
* YT-17689: Move TFreeList to library/cpp/yt/memoryaleexfi2023-05-103-5/+4
| | | Iteration no. 2. First one reverted due to YT-18997
* Revert "YT-17689: Move TFreeList to library/cpp/yt/memory"aleexfi2023-04-173-4/+6
| | | | This reverts commit 617a1d07971366c19cdf278579ee9b1cbfa53db8, reversing changes made to 27e0312d3842c4e5e3ea6b09611c8f6ff6938dd6.
* Revert ymake build from ydb oss exportalexv-smirnov2023-03-281-29/+0
|
* YT-17689: Move TFreeList to library/cpp/yt/memoryaleexfi2023-03-173-6/+4
|
* add library/cpp/actors, ymake build to ydb oss exportalexv-smirnov2023-03-151-0/+29
|
* remove kikimr/driver DEPENDSqrort2022-12-022-136/+0
|
* validate canons without yatest_commonqrort2022-11-302-0/+136
|
* Switch to modern std::memory_order enumbabenko2022-11-165-25/+25
|
* Some more tests for SS consistency over topic movekomels2022-11-151-0/+2
|
* Remove unlocalized mode from NLG libraryalexanderplat2022-10-311-1/+2
|
* Update contrib/restricted/boost/format to 1.79.0robot-contrib2022-08-082-0/+13
|
* Reimport boost/typeof as a separate projectbugaevskiy2022-08-061-0/+4
|
* coalescevvvv2022-08-022-0/+85
|
* Better logginghor9112022-07-181-1/+9
|
* rebalancing in sandbox task 1379675374robot-dts-analyst2022-07-182-2/+2
| | | rebalancing
* Consistent logginghor9112022-07-164-122/+174
|
* Fix compiling jwt-cpp on Darwinthegeorg2022-07-151-3/+5
| | | Нашёл локальный для Маркета фикс и вынес в код самого контриба.
* fix ya.makemonster2022-07-0725-0/+1511