Repository navigation
Conversation
Remove saved window state on exit, preserve signal status, and only treat ESRCH as proof a tracked process is gone. Sergii Stoian upstream: 298e9a8 moved child-exit handling to the application level, f498739 revised Dock process tracking, and 84b7286 refined the exit-handler registry and its Dock integration. Split-from: 4d1b1ca Upstream-Base: e5d55ef Reference-Integration: review/integration-reference (cherry picked from commit 1d65362)
Add and test lock-free PID and wait-status slots with a nonblocking wakeup pipe. The collector is built here before it replaces the active handler and feeds the upstream registry. Sergii Stoian upstream: 298e9a8 moved child-exit handling to the application level, f498739 revised Dock process tracking, and 84b7286 refined the exit-handler registry and its Dock integration. Split-from: 4d1b1ca Upstream-Base: e5d55ef Reference-Integration: review/integration-reference (cherry picked from commit 06a24de)
Register Workspace fork sites and drain raw wait statuses on the WM run loop. Chain Foundation’s SIGCHLD handler so NSTask still observes its own children. Activate collection and delivery together. Sergii Stoian upstream: 298e9a8 moved child-exit handling to the application level, f498739 revised Dock process tracking, and 84b7286 refined the exit-handler registry and its Dock integration. Split-from: 4d1b1ca Upstream-Base: e5d55ef Reference-Integration: review/integration-reference (cherry picked from commit 546bbaa)
Author
|
@trunkmaster This is extremely low-level, but without this I couldn't get the app up and running on FreeBSD. This is a nasty PR. Update: If you squash merge these numerically nonsensical title vanish. If you prefer to keep them, LMK and I'll retitle to whatever convention you prefer. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workspace was collecting exit statuses that GNUstep’s NSTask needed, leaving waitUntilExit stuck. The three commits correct the exit bookkeeping, collect only Workspace-owned children, and deliver their exit statuses on the window manager’s run loop.