diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-10-13 11:59:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 11:59:23 (GMT) |
commit | c7761bbc3297539480d1e2799f7f67f0437c24b1 (patch) | |
tree | 48c3a4081621350c05379c6f658e2f47aeccc0ed /Lib/asyncio/unix_events.py | |
parent | 0a67f82eb1daf0afaebc68f31ac7e4609f314353 (diff) | |
download | cpython-c7761bbc3297539480d1e2799f7f67f0437c24b1.zip cpython-c7761bbc3297539480d1e2799f7f67f0437c24b1.tar.gz cpython-c7761bbc3297539480d1e2799f7f67f0437c24b1.tar.bz2 |
gh-98178: syslog() is not thread-safe on macOS (GH-98213)
On macOS, fix a crash in syslog.syslog() in multi-threaded
applications. On macOS, the libc syslog() function is not
thread-safe, so syslog.syslog() no longer releases the GIL to call
it.
(cherry picked from commit d4b91663857e85eab1f309cacec4d27b5f6657ec)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/asyncio/unix_events.py')
0 files changed, 0 insertions, 0 deletions