[New-bugs-announce] [issue3027] if extended c module is calling Windows API waitForSingleObject, it will block other thread.

patrick report at bugs.python.org
Mon Jun 2 11:53:22 CEST 2008


New submission from patrick <patrick_jiang at phoenix.com>:

The c extend module is as the attached file "WindowsFuncs.cpp", it 
wraps some Windows event APIs

The python script is as the attached file "test.py", run that script, 
we could find in the new thread, the calling to Windows API 
waitForSingleObject will block the main thread printing, that's really 
strange. 

The output of running is as the attached file "test.output".

----------
components: Interpreter Core
files: attach.zip
messages: 67633
nosy: patrick
severity: normal
status: open
title: if extended c module is calling Windows API waitForSingleObject, it will block other thread.
versions: Python 2.5
Added file: http://bugs.python.org/file10502/attach.zip

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


More information about the New-bugs-announce mailing list