You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a race condition as the process may be alive at ppid = self.ppid() but not at self.create_time(). It's a very small time frame but the issues technically exists.
The text was updated successfully, but these errors were encountered:
* master:
use 'with open' to make sure file is closed
test_process_create_time: always test against the rounded time too
don't test physical cpu count on systems that don't include it
don't test num_ctx_switches on unsupported kernels
fix compilation warning about possible misuse of XDECREF
fix race condition in wait_for_file
fix flake8 error
fix permission errors when running from /root
fixgiampaolo#607: DUPLEX_UNKNOWN is not defined on old RedHat versions
fixgiampaolo#606: Process.parent() may swallow NoSuchProcess exceptions (#race-condition)
attempt to fix xargs on OSX
giampaolo#602: move pre-commit hook into a separate file
fixgiampaolo#602: add GIT pre-commit hook
fix failing test on Windows
C styling: if unification
forgot to close the handle
fixgiampaolo#599 (Windows): process name() can now be determined for all PIDs
add test
windows: refactoring of the alternative process info implementation
fix typo in documentation
...and return
None
instead. Problem is here:psutil/psutil/__init__.py
Line 473 in 08964b0
This is a race condition as the process may be alive at
ppid = self.ppid()
but not atself.create_time()
. It's a very small time frame but the issues technically exists.The text was updated successfully, but these errors were encountered: