Module may::sync [] [src]

Modules

mpmc

mpmc synchronized channel implementation support an unbounded mpmc queue, senders would not block receivers would block if there is no data until sender send data it's almost the same as mpsc except that we support multi receivers each receiver would consume one data each time so that other receivers would not see that the same data any more

mpsc

compatible with std::sync::mpsc except for both thread and coroutine please ref the doc from std::sync::mpsc

Structs

AtomicOption
Blocker
Condvar
Mutex
MutexGuard
RwLock

A reader-writer lock

RwLockReadGuard
RwLockWriteGuard
Semphore

Semphore primitive

WaitTimeoutResult

A type indicating whether a timed wait on a condition variable returned due to a time out or not.