Module origin::sync

source ·
Expand description

Mutex, RwLock, and Condvar.

The main implementation in in this module is derived from related source files in std. We need our own copy here rather than just using what’s in std, because we need to be no_std, so that std can use us. And we use rustix for making syscalls instead of libc.

Structs

Type Definitions