| commit | e71db4450cc3ede22dbfda7c7eb9149cf685650f | [log] [tgz] |
|---|---|---|
| author | Victor Stinner <victor.stinner@haypocalc.com> | Fri Jun 24 20:52:27 2011 +0200 |
| committer | Victor Stinner <victor.stinner@haypocalc.com> | Fri Jun 24 20:52:27 2011 +0200 |
| tree | d80ee8458e5681f6584f9f2ac7f479dbcf6ee1f9 | |
| parent | fcb17e13da46c75f76766f8536d5823563d10f1c [diff] |
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.