Module oursh::process[][src]

Expand description

Subprocess execution management.

All commands (both foreground and background) are created and executed as a job. This helps manage the commands the shell runs.

  • Job control
  • Threads?
  • Signals
  • Process groups
  • Sessions

More resources from the source at: www.win.tue.nl/~aeb/linux/lk/lk-10.

Structs

File descriptors for use in processes and threads

A process to be executed by various means

Processes groups are used for things like pipelines and background jobs

Every process group is in a unique session.

TODO: What signal handling can we put here?

Threads are distinguished by a thread ID (TID)

Traits

Functions

Enumerate the given jobs, pruning exited, signaled or otherwise errored process groups

Type Definitions

Shared job handling structure