[docs] [issue8865] select.poll is not thread safe

Christian Schubert report at bugs.python.org
Tue Jun 1 09:09:28 CEST 2010


Christian Schubert <bugs at apexo.de> added the comment:

the other issue (poll_register freeing data structures that poll_poll currently uses) can be reproduced by the attached script (at least I can)

depending on the parameters/circumstances it either segfaults or prints garbage results from poll, e.g. [(1684955474, 28192)]; the expected result would be [(3, 1)]

----------
Added file: http://bugs.python.org/file17511/concurrent_poll_and_register.py

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


More information about the docs mailing list