✳flâneur — a map of the web's best reading
Mutex in std::sync - Rust
doc.rust-lang.org · 3,017 words · saved by 1 readers
A mutual exclusion primitive useful for protecting shared data
Mutex in std::sync - Rust Skip to main content This old browser is unsupported and will most likely display funky things. Mutex std :: sync Struct Mutex Copy item path 1.0.0 · Source pub struct Mutex<T: ? Sized > { /* private fields */ } Expand description A mutual exclusion primitive useful for protecting shared data This mutex will block threads waiting for the lock to become available. The mutex can be created via a new constructor. Each mutex has a type parameter which represents the data that it is protecting. The data can only be accessed through the RAII guards returned from lock and tr
Explore this link on the map →related reading
- Shared-State Concurrency - The Rust Programming Languagedoc.rust-lang.org
- References and Borrowing - The Rust Programming Languagedoc.rust-lang.org
- A half-hour to learn Rustfasterthanli.me
- golang mutex, go mutex, mutex lock golang, golang mutex example, sync.RWMutexgolinuxcloud.com
- Spinlocks Considered Harmfulmatklad.github.io
- Unreliable Guide To Locking — The Linux Kernel documentationdocs.kernel.org
- Reading 16: Mutual Exclusionweb.mit.edu
- Rust Language Cheat Sheetcheats.rs
- Zaval.org -> Resources -> Library -> Recursive mutexes by David Butenhofzaval.org
- sync package - sync - Go Packagespkg.go.dev
- Using Threads to Run Code Simultaneously - The Rust Programming Languagedoc.rust-lang.org
- Transfer Data Between Threads with Message Passing - The Rust Programming Languagedoc.rust-lang.org