[New-bugs-announce] [issue12392] pthread_kill() doesn't work on the main thread on FreeBSD6
STINNER Victor
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.
----------
messages: 138875
nosy: haypo, neologix
priority: normal
severity: normal
status: open
title: pthread_kill() doesn't work on the main thread on FreeBSD6
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12392>
_______________________________________
More information about the New-bugs-announce
mailing list