INNER CODE UNIT · Rust

Ok

openebs/mayastor · io-engine-tests/src/lib.rs:52

        if let Ok(result) = f() {
            return result;
        }

        if cnt == 0 {
            break;
        }
        std::thread::sleep(timeout);
    }

    panic!("failed operation with retries");
}

pub static MSTEST: OnceCell<MayastorEnvironment> = OnceCell::new();

#[macro_export]
macro_rules! reactor_poll {
    ($ch:ident, $name:ident) => {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…