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
17#[cfg(not(doctest))]
18pub mod cpu;
19
20/// Execute future in blocking context
21pub mod blocking_async;
22
23/// Execute once and notify
24pub mod notifier;
25
26/// timestamp utility
27pub mod time;
28
29/// A simple worker pool framework
30pub mod worker_pool;
31
32/// Re-export of crate [atomic-waitgroup](https://docs.rs/atomic_waitgroup)
33pub mod waitgroup;