-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README.md to maelstrom-worker-child.
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Maelstrom Worker Child | ||
|
||
This is a small library that is only intended to be used by the | ||
[maelstrom-worker](../maelstrom-worker). It is its own library so it can | ||
be `no_std` and we can ensure that it doesn't take any undesired dependencies. | ||
|
||
This library is instended to be used in the child processes after a `clone` | ||
syscall in potentially-multithreaded processes. The child process in this case | ||
is very limited in what it can do without potentially blocking. For example, | ||
even allocations are disallowed. This library just executes a series of | ||
syscalls, the last of which should be `execve`. |