JobSys

About

Provides an implementation of a Lockless Work Stealing Job System which, after initialization, does not consume additional memory to schedule jobs.

This crate requires rust edition 2018 and can be run with stable. It has been tested with rust version 1.50.0.

For more details, please consult the crate's documentation

Example

```rust use jobsys::{JobSystem, JobHandle};

fn main() { let threadcount = 4usize; let jobcapacity = 512usize; let mut js = jobsys::JobSystem::new(threadcount, jobcapcity).unwrap(); let mut handle = js.create(|| { println!("Hello World!");}).unwrap(); js.run(&mut handle).expect("Failed to run job"); js.wait(&mut handle); } ```