SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 50 Python

Issue #12392: fix thread initialization on FreeBSD 6

On FreeBSD6, pthread_kill() doesn't work on the main thread before the creation
of the first thread. Create therefore a dummy thread (no-op) a startup to
initialize the pthread library.

Add also a test for this use case, test written by Charles-François Natali.
V
Victor Stinner committed
e71db4450cc3ede22dbfda7c7eb9149cf685650f
Parent: fcb17e1