diff options
author | Konstantin Khlebnikov <khlebnikov@tracto.ai> | 2024-09-20 14:02:12 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-09-20 14:12:54 +0300 |
commit | d3cfd2d7316d546beaef44a30de5659ce4d82d78 (patch) | |
tree | 7f13a63c293f40aaad264c22b977d4d5eb10eb80 /build/plugins/java.py | |
parent | e8df434071e6a63077b49df797d2fd05826eef26 (diff) | |
download | ydb-d3cfd2d7316d546beaef44a30de5659ce4d82d78.tar.gz |
Move custom signal handler stack from TLS
Fix deadlock on GL(dl_load_lock) when code is build as a shared library.
At loading library static initializers are called under GL(dl_load_lock).
Some of them want to start new thread and wait it up and running.
New thread in its turn registers non-POD TLS destructor for signal stack,
(__cxa_thread_atexit) which takes the same lock: GL(dl_load_lock). Boom.
---
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/854
commit_hash:77eade346d6009f79cc62cd121eadd4fcb0c20e4
Diffstat (limited to 'build/plugins/java.py')
0 files changed, 0 insertions, 0 deletions