]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-98178: syslog() is not thread-safe on macOS (#98213)
authorVictor Stinner <vstinner@python.org>
Thu, 13 Oct 2022 11:34:55 +0000 (13:34 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Oct 2022 11:34:55 +0000 (13:34 +0200)
commitd4b91663857e85eab1f309cacec4d27b5f6657ec
treeb3a245e050cb27b44e787f47411b2132f0b99823
parent4414586172a7b22ce5b7508c68401e6dc2ac49cc
gh-98178: syslog() is not thread-safe on macOS (#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.
Misc/NEWS.d/next/Library/2022-10-12-10-00-40.gh-issue-98178.hspH51.rst [new file with mode: 0644]
Modules/syslogmodule.c