Skip to content

Job control & concurrency: Remove race between SIGCHLD handler and job table updates #95

Description

@exlier

Problem

  • Job table updates race with SIGCHLD delivery and the main loop, causing inconsistent job states (jobs shown as running after exit, jobs not removed, or duplicate entries).

Impact

  • Users see stale or incorrect job statuses; fg/bg/kill sometimes acts on wrong PIDs. Race conditions can also lead to inadvertent killing of the shell's process group.

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