Crate maelstrom_worker
source ·Expand description
Code for the worker binary.
Modules§
- Manage downloading, extracting, and storing of artifacts specified by jobs.
- Central processing module for the worker. Receive messages from the broker, executors, and artifact fetchers. Start or cancel jobs as appropriate via executors.
Structs§
Functions§
- Create a grandchild process in its own pid and user namespaces.
- The main function for the worker. This should be called on a task of its own. It will return when a signal is received or when one of the worker tasks completes because of an error.