On OpenBSD and NetBSD, zombie processes have a creation time of 0.0. The example below shows how a process starts normally (so it has a ctime), then it turns into a zombie. This breaks is_running() and also has repercussions on __eq__ and __hash__, which is used to allow creating a set() of uniue Process() objects.
Summary
Description
On OpenBSD and NetBSD, zombie processes have a creation time of
0.0
. The example below shows how a process starts normally (so it has a ctime), then it turns into a zombie. This breaksis_running()
and also has repercussions on__eq__
and__hash__
, which is used to allow creating a set() of uniueProcess()
objects.