Skip to content

refactor: improve container monitor initialization and signal handling#136

Merged
ComixHe merged 1 commit intoOpenAtom-Linyaps:masterfrom
ComixHe:master
Jan 5, 2026
Merged

refactor: improve container monitor initialization and signal handling#136
ComixHe merged 1 commit intoOpenAtom-Linyaps:masterfrom
ComixHe:master

Conversation

@ComixHe
Copy link
Copy Markdown
Collaborator

@ComixHe ComixHe commented Jan 5, 2026

  • Move container_monitor creation after container status update to RUNNING
  • Refactor enable_signal_forwarding to return bool instead of accepting host_tty
  • Enhance child process reaping with waitpid(-1, WNOHANG) loop
  • Move host_tty creation logic into enable_io_forwarding for better cohesion
  • Add fallback to get default terminal size from /dev/tty when size is zero

- Move container_monitor creation after container status update to RUNNING
- Refactor enable_signal_forwarding to return bool instead of accepting host_tty
- Enhance child process reaping with waitpid(-1, WNOHANG) loop
- Move host_tty creation logic into enable_io_forwarding for better cohesion
- Add fallback to get default terminal size from /dev/tty when size is zero

Signed-off-by: ComixHe <[email protected]>
@ComixHe ComixHe merged commit ffe59c5 into OpenAtom-Linyaps:master Jan 5, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant