Skip to content

Document wait4 should not be called more than once #3

Closed

Description

@stepancheg

Unlike Child::wait, wait4 cannot be called more than once, or wait cannot be called after wait4 called: wait4 does not update the status of Child (that it is already waited), so calling wait or wait4 again may close the wrong process.

Activity

  1. added
    bug
    on Oct 9, 2021
  2. stepancheg commented on Oct 9, 2021

    @stepancheg
    Author

    Also wait4 cannot be called after wait called for the same reason.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions