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
The test failure above indicates that after a thread is terminated Process.threads() keeps listing it as if it was alive. It took me a while to understand why that is. It turns out that some threads stick around even after terminated, and their status is either zombie or idle (LSZOMB, LSIDL). As such psutil should skip/ignore these threads.
The text was updated successfully, but these errors were encountered:
Summary
Description
The test failure above indicates that after a thread is terminated
Process.threads()
keeps listing it as if it was alive. It took me a while to understand why that is. It turns out that some threads stick around even after terminated, and their status is either zombie or idle (LSZOMB
,LSIDL
). As such psutil should skip/ignore these threads.The text was updated successfully, but these errors were encountered: