]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-122187: Avoid TSan reported race in `run_udp_echo_server` (#122189)
authorSam Gross <colesbury@gmail.com>
Thu, 25 Jul 2024 08:16:53 +0000 (04:16 -0400)
committerGitHub <noreply@github.com>
Thu, 25 Jul 2024 08:16:53 +0000 (13:46 +0530)
commit2f74b709b637cad7a9c18a2d90b0747823f2ff51
tree3ebf71e5f7423d1757793fa17167c0064ba73837
parentbb108580dec5d8655ccdfb6c8737b5f64e3366d0
gh-122187: Avoid TSan reported race in `run_udp_echo_server` (#122189)

TSan doesn't fully recognize the synchronization via I/O, so ensure that
socket name is retrieved earlier and use a different socket for sending
the "STOP" message.
Lib/test/test_asyncio/utils.py