Robert Garrett adaf277cba feat: Shutdown propogation and thread count arg
The Stop command will be handled specially by the Dispatcher to act as a
sort of broadcast into the thread pool. Instead of asking the caller to
feed in the appropriate number of stop commands, a single one will queue
up a stop for all threads. Important for the ergonomics of having a
variable number of threads (instead of the earlier magic constant).
Moreover, it's necessary if the dispatcher stops using the round-robin
style assignment.

The pool size is specifiable as an argument to Dispatcher::new().
2023-06-25 14:29:35 -05:00
2023-06-03 09:48:54 -05:00
Description
No description provided
AGPL-3.0 15 MiB
Languages
Rust 100%