Skip to main content

Module wakeup

Module wakeup 

Source
Available on non-target_family=wasm only.
Expand description

A self-pipe: something that has to interrupt a poll loop writes to it, and the loop sees an ordinary readable file descriptor.

Both ends are non-blocking, so neither end can stall the thread it runs on. What the bytes mean is the caller’s business.

Structs§

Wakeup

Enums§

WakeupError