[issue7401] os.write and os.close on pipe from separate threads hangs on Mac OS X

Hugh Secker-Walker report at bugs.python.org
Fri Nov 27 00:22:25 CET 2009


New submission from Hugh Secker-Walker <hughsw at users.sourceforge.net>:

The attached script demonstrates a problem on Mac OS X 10.5 whereby
Python can hang while simultaneously trying os.write with a large buffer
and os.close, from separate threads on the write and read fds
respectively of a pipe.

----------
components: IO
files: os_pipe_write_close_bug.py
messages: 95755
nosy: hughsw
severity: normal
status: open
title: os.write and os.close on pipe from separate threads hangs on Mac OS X
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file15400/os_pipe_write_close_bug.py

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


More information about the Python-bugs-list mailing list