Mutex | Learn Rust part 61
Smart Contract Programmer · 6:53
Rust's Mutex is the thread-safe counterpart of RefCell: it lets several threads read and write the same data, but every access has to go through lock(). The video walks through creating a mutex, sharing it between thr...