[issue4944] os.fsync() doesn't work as expect in Windows
Gabriel Genellina
report at bugs.python.org
Fri Jan 16 10:25:18 CET 2009
Gabriel Genellina <gagsl-py2 at yahoo.com.ar> added the comment:
If you start the new thread *after* the file is closed, no race
condition should exist. I'm sorry but I'm unable to follow the code you
use to create threads and write the makefile; but you should verify
that your original assertion "Once a makefile is generated, launch a
separate process..." is true.
Alternatively, when using a Queue like in my last example, make sure
the new job enters the queue *after* closing the file.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4944>
_______________________________________
More information about the Python-bugs-list
mailing list