diff options
| author | thenewone <[email protected]> | 2025-09-25 14:15:42 +0300 |
|---|---|---|
| committer | thenewone <[email protected]> | 2025-09-25 14:52:03 +0300 |
| commit | 672eea3234a138cd82e1c1956eb63fb3e100caa4 (patch) | |
| tree | 04c1674164f5663ac222b0c411d2038cb3258213 /contrib/python/ipython/py2/IPython/utils/_tokenize_py3.py | |
| parent | a5b7f280bb5fb8ab18bc716e631d24a6b721c3fe (diff) | |
Do not get ref counter when copy weak ptr
Если копировать TWeakPtr в момент разрушения объекта, на который он ссылается, то происходит гонка на vptr. GetRefCounter использует vptr, а деструктор объекта может его менять.
Thread-sanitizer эту гонку видит.
Unit test added; also fixed and enabled older test.
Enabled thread sanitizer for library/cpp/yt/memory.
commit_hash:87cb083a9905cc8a262b575868bbae3438b9324f
Diffstat (limited to 'contrib/python/ipython/py2/IPython/utils/_tokenize_py3.py')
0 files changed, 0 insertions, 0 deletions
