[pypy-dev] Dead loop occurs when using python-daemon and multiprocessing together in PyPy 4.0.1
arigo at tunes.org
Thu Dec 24 02:02:08 EST 2015
On Wed, Dec 23, 2015 at 7:05 PM, Vincent Legoll
<vincent.legoll at gmail.com> wrote:
> Do you thought about that removed code ?
> The filedesc was not kept opened there, or do you meant another thing
> in this file ?
Thanks for looking it up :-) Yes, that's exactly what I have in mind,
and indeed I see now that the file descriptor was not kept opened, so
it didn't have the problem anyway. However rpython.rlib.rurandom line
101 keeps a file descriptor opened and reuses it without checking,
which is the problem here.
More information about the pypy-dev