[issue13517] readdir() in os.listdir not threadsafe on OSX 10.6.8
Thouis (Ray) Jones
report at bugs.python.org
Thu Dec 1 23:32:30 CET 2011
Thouis (Ray) Jones <thouis at gmail.com> added the comment:
Reading through many pages discussing readdir vs. readdir_r (many on security mailing lists, a large number referring to the page linked in the patch), I get the impression that most implementations are thread-safe as long as separate threads do not call readdir() using the same DIR pointer.
I believe there is some ambiguity in the POSIX specification as to whether this is the only way in which readdir() might be thread-unsafe.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13517>
_______________________________________
More information about the Python-bugs-list
mailing list