Python 3.2 | WIndows 7 -- Multiprocessing and files not closing
Isaac Gerg
isaac.gerg at gergltd.com
Thu Oct 10 17:15:49 EDT 2013
Hi Piet,
Here is a real code example: http://stackoverflow.com/questions/948119/preventing-file-handle-inheritance-in-multiprocessing-lib
As I said before, I had provide pseudocode.
I cannot close the file after reading because it is part of a class and other threads may be calling member functions which read from the file.
Isaac
More information about the Python-list
mailing list