+BLOCKED, +UNBLOCKED, and +BLOCKING tags

These are somewhat expensive tags, as they require reference to values
outside of the task itself.

To accomplish this, the replica supplies a pre-computed DependencyMap
that is only calculated once per replica, and only from the working set.
This commit is contained in:
Dustin J. Mitchell
2022-02-22 02:33:22 +00:00
parent 47e213d6ec
commit 6f48f715ac
8 changed files with 318 additions and 21 deletions

View File

@@ -45,6 +45,10 @@ This crate supports Rust version 1.47 and higher.
*/
// NOTE: it's important that this 'mod' comes first so that the macros can be used in other modules
mod macros;
mod depmap;
mod errors;
mod replica;
pub mod server;
@@ -54,6 +58,7 @@ mod taskdb;
mod utils;
mod workingset;
pub use depmap::DependencyMap;
pub use errors::Error;
pub use replica::Replica;
pub use server::{Server, ServerConfig};