Function wasi_tokio::sched::sched_ctx

source ·
pub fn sched_ctx() -> Box<dyn WasiSched>
Examples found in repository?
src/lib.rs (line 29)
25
26
27
28
29
30
31
32
    pub fn new() -> Self {
        WasiCtxBuilder(WasiCtx::new(
            random_ctx(),
            clocks_ctx(),
            sched_ctx(),
            Table::new(),
        ))
    }