Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

fork: let child terminate without requiring signal from parent #230

Merged
merged 1 commit into from
May 1, 2015

Conversation

orangemocha
Copy link

The quasi-fork child was waiting for an explicit signal from the parent
before terminating. This synchronization step is unnecessary, and
it makes the child hang if the parent terminates for any reason
while the fork operation is in progress.
In that scenario, and consistently with the Posix version, the child
now completes the fork operation and terminates freely when done.

This fixes #228

The quasi-fork child was waiting for an explicit signal from the parent
before terminating. This synchronization step is unnecessary, and
it makes the child hang if the parent terminates for any reason
while the fork operation is in progress.
In that scenario, and consistently with the Posix version, the child
now completes the fork operation and terminates freely when done.

This fixes #228
@ghost ghost added the cla-not-required label Mar 23, 2015
@orangemocha orangemocha merged commit 8c5b7fd into 2.8 May 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant