Crate maelstrom_worker
source ·Expand description
Code for the worker binary.
Modules§
Structs§
Constants§
Functions§
- Check if the open file limit is high enough to fit our estimate of how many files we need.
- 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.