Crate local_sync[][src]

Expand description

Local Sync is a crate that providing non-thread-safe data structures useful for async programming. If you use a runtime with thread-per-core model(for example the Monoio), you may use this crate to avoid the cost of communicating across threads.

Modules

Oneshot borrowed from tokio.

Semaphore borrowed from tokio.

Structs

A thread-safe cell that can be written to only once.

Enums

Errors that can be returned from OnceCell::set.