[New-bugs-announce] [issue12392] pthread_kill() doesn't work on the main thread on FreeBSD6
report at bugs.python.org
Fri Jun 24 00:56:01 CEST 2011
New submission from STINNER Victor <victor.stinner at haypocalc.com>:
pthread_kill() doesn't work on the main thread on FreeBSD6: sending a signal to the main thread does nothing. It works on the main thread just after the creation of the first thread.
PyThread__init_thread() has 3 implementations in Python/thread_pthread.h:
- call pthread_init()
- create a dummy thread (no-op) and join it
- do nothing
pthread_init() doesn't exist on FreeBSD6. If the dummy thread implementation is used, pthread_kill() works directly on the main thread at startup.
nosy: haypo, neologix
title: pthread_kill() doesn't work on the main thread on FreeBSD6
versions: Python 3.3
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce