Macro kernel::new_work

source ·
macro_rules! new_work {
    ($($name:literal)?) => { ... };
}
Expand description

Creates a Work initialiser with the given name and a newly-created lock class.