Skip to content

core: share one zombie-with-threads rule between proc.ts and containment.ts #335

Closed

Description

@ElbertePlinio

Found in review of #330 (#322) and #331 (#324, #327).

proc.ts decides presence with statCountsAsPresent (a Z counts while num_threads > 1). containment.ts copies the same rule as zombieIsGone, readPresentStartTicks and the zombie-leader check in readThreadsOfZombieLeader. The two files agree only by copy.

  • Export one helper from proc.ts and use it in containment.ts
  • Keep behaviour unchanged; the existing proc and containment tests cover it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions