Skip to main content

workqueue

Macro workqueue 

Source
macro_rules! workqueue {
    ($name:expr, $prio:expr, $stack:expr) => { ... };
}
Expand description

Create a crate::Workqueue that works in both heap and zero-heap modes.

$name must be a c"..." literal — the underlying API requires a null-terminated string and the C-string literal makes the compiler enforce that.

§Example

let wq = ove::workqueue!(c"myq", Priority::Normal, 4096);