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) andMutexGuard,RWLockdont 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