sync_utils/
lib.rs

1//!
2//! A bunch of utilities in async-await and blocking context.
3//!
4
5extern crate atomic_waitgroup;
6
7#[macro_use]
8extern crate async_trait;
9
10#[macro_use]
11extern crate log;
12
13/// Bithacks to minimise the cost
14pub mod bithacks;
15
16/// Sharding to minimise the cost
17pub mod cpu;
18
19/// Execute future in blocking context
20pub mod blocking_async;
21
22/// Execute once and notify
23pub mod notifier;
24
25/// timestamp utility
26pub mod time;
27
28/// A simple worker pool framework
29pub mod worker_pool;
30
31/// Re-export of crate [atomic-waitgroup](https://docs.rs/atomic_waitgroup)
32pub mod waitgroup;