Closed GoogleCodeExporter closed 9 years ago
Fixed on Linux as r135.
Original comment by billiej...@gmail.com
on 20 Feb 2009 at 12:42
This is as fixed as it's going to get for now on OS X and Windows... We're just
checking if the PID exists right before executing the code to retrieve process
information. Ideally we would have some more definitive way to determine if the
process dies in mid-data collection but realistically dealing with process
lists is
always going to be a race condition where the process can randomly disappear at
any
moment.
For now we raise an exception in the majority of cases, but theoretically it is
probably possible that we might end up returning invalid values (e.g. None),
should
the process go away while get_process_info() is still executing.
Original comment by jlo...@gmail.com
on 20 Feb 2009 at 4:33
Original comment by billiej...@gmail.com
on 20 Feb 2009 at 10:12
get_process_info() should raise an exception if any part of data collection
fails on
both Windows and OS X. If Linux platform is completed we can close this out.
Original comment by jlo...@gmail.com
on 21 Feb 2009 at 2:04
Original comment by billiej...@gmail.com
on 23 Feb 2009 at 5:49
The test case for this issue has been added a while ago and it's reasonably
reliable,
so if you haven't reported any failure for OS X I guess everything should be
fine.
Closing this out as Verified.
Original comment by billiej...@gmail.com
on 24 Feb 2009 at 3:27
Original comment by billiej...@gmail.com
on 17 Mar 2009 at 3:31
Updated csets after the SVN -> Mercurial migration:
r135 == revision 5f1c9bf2dbe4
Original comment by g.rodola
on 2 Mar 2013 at 11:42
Original issue reported on code.google.com by
billiej...@gmail.com
on 18 Feb 2009 at 6:25