-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generic task queue with worker pool (#82)
* Add initial worker implementation * Change function order * Make structs public, add small assertion * Implement is_empty method * Rename structs * WIP Puzzles test scenario * Recursively go through all puzzle pieces, finish test * Improve comments, handle lagging * Use TaskError in tests * Use failure cases in tests * Add more todos * Add entry to CHANGELOG.md * Add documentation * Add an example * Add comments to jigsaw test * Update documentation, add len() method * We can not test this * Remove len method again * Explain how we're generating test puzzles Co-authored-by: Sam Andreae <contact@samandreae.com>
- Loading branch information
1 parent
897860c
commit fb6e7d7
Showing
5 changed files
with
773 additions
and
4 deletions.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -21,6 +21,7 @@ mod rpc; | |
mod runtime; | ||
mod server; | ||
mod task; | ||
mod worker; | ||
|
||
#[cfg(test)] | ||
mod test_helpers; | ||
|
Oops, something went wrong.