[New-bugs-announce] [issue17148] mingw: nt thread model detection

Roumen Petrov report at bugs.python.org
Wed Feb 6 23:36:10 CET 2013


New submission from Roumen Petrov:

Proposed  patch adds test for NT-threads to configure script . It was part of issue3871 and is related only to threading support.

Unlike previous one new patch avoid changes in code like #if A undef B or similar.
For instance 
- avoid presence of header pthread.h in Python/ceval.c and  Python/thread.c (HAVE_PTHREAD_H dependency)
- avoid detection of function pthread_kill  in Modules/signalmodule.c (HAVE_PTHREAD_KILL)
- avoid sem_open() Modules/_multiprocessing/multiprocessing.c (HAVE_SEM_OPEN)
( see patch for reason to skip those checks at configure time)

----------
components: Build
files: 0001-MINGW-BASE-use-NT-thread-model.patch
keywords: patch
messages: 181576
nosy: rpetrov
priority: normal
severity: normal
status: open
title: mingw: nt thread model detection
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file28984/0001-MINGW-BASE-use-NT-thread-model.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17148>
_______________________________________


More information about the New-bugs-announce mailing list