You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zk/tests/fixtures/full-sample/inbox/er4k.md

482 B

Mutex

  • Abbreviation of mutual exclusion.
  • An approach to manage safely shared state by allowing only a single thread to access a protected value at one time.
  • A mutex guards a protected data with a locking system.
  • Managing mutexes is tricky, using channels is an easier alternative.
    • The main risk is to create deadlocks.
    • Thanks to its Ownership pattern, Rust makes sure we can't mess up when using locks.

:programming: