thread-manager 1.0.0

A streamlined Rust library for efficient thread pooling and parallel job execution, designed for simplicity, flexibility, and performance.
Documentation
1
2
3
4
5
6
7
8
pub fn assert_wpc(size: usize, wpc: usize) {
    assert!(
        size % wpc == 0,
        "Assertion failed: Size ({}) must be divisible by WPC [Workers-Per-Channel] ({})",
        size,
        wpc
    );
}