Skip to content

Conversation

@TomGoh
Copy link

@TomGoh TomGoh commented Dec 1, 2025

Changes

  • add stop_event and stop_signal in ProcessData to support process stopping, update relative initialization
  • implement do_continue and do_stop function for process continuation and stoppage in api/src/task.rs
  • implement handle_stopped_state function to actually use the Poll mechanism implement stopping for processes in api/src/task.rs
  • update check_signals function in api/src/signal.rs to check for SIGCONT under different scenarios, ensure the continuation of a stopped process regardless its signal mask and disposition settings
  • update check_signals function in api/src/signal.rs to call do_stop and do_continue to respond to the signal.

Related

Changes:
- add  and  in  to support process stopping, update relative initialization
- implement  and  function for process continuation and stoppage in
- implement  function to actually use the Poll mechanism implement stopping for processes in
- update  function in  to check for SIGCONT under different scenarios, ensure the continuation of a stopped process regardless its signal mask and disposition settings
- update  function in  to call  and  to respond to the signal.
@TomGoh TomGoh changed the title Feat/proc state [WIP] feat/process state management Dec 1, 2025
… avoid blocking forever when SIGKILL or SIGCONT is only sent to a thread; update some comments
Changes:
- Revert the design that tracking stop signals in ProcessData. Move it to ProccessSignalManager
- Move zombie state transition from Process::exit to do_exit for single reponsibility
- Integrate stop/continue signal reporting mechanism into do_stop and do_continue function
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