Antoine Pitrou <[EMAIL PROTECTED]> added the comment:

This is a preliminary patch which shows how things might be done better.
It only addresses close(), seek() and dealloc right now. However, as
mentioned in test_close_open_seek, if I raise the number of workers, I
get crashes (while test_close_open is fine). Perhaps fseek() in the
glibc is thread unsafe when operating on the same file descriptor?

----------
keywords: +patch
Added file: http://bugs.python.org/file9883/filethread1.patch

____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue815646>
____________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to