Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 631 Bytes

File metadata and controls

19 lines (17 loc) · 631 Bytes

Threads

Topics to study

  • Threads
  • Interior mutability
  • Send
    • Marker trait, which have no method
    • This trait indicates that it is okay to send this type to another thread
    • RC (non atomic referene counted type) and MutexGuard, RWLock dont have Send, as OS specific constraint
  • Sync
  • Mutex
  • Condition Variable
  • Thread Parking
  • Marker Trait
    • Compiler will automatically implement this trait for you, if all members are themselves same trait

Reference