diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-24 20:52:27 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-24 20:52:27 +0200 |
commit | e71db4450cc3ede22dbfda7c7eb9149cf685650f (patch) | |
tree | d80ee8458e5681f6584f9f2ac7f479dbcf6ee1f9 /Lib/random.py | |
parent | fcb17e13da46c75f76766f8536d5823563d10f1c (diff) | |
download | cpython-git-e71db4450cc3ede22dbfda7c7eb9149cf685650f.tar.gz |
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.
Diffstat (limited to 'Lib/random.py')
0 files changed, 0 insertions, 0 deletions