Noted Things from Practice Questions
Semaphore vs Mutex
- Semaphore does not have owner — maintains a count, whereas Mutex has owner
- Semaphore can have 1→ n threads accessing, Mutex can only have 1
- Semaphore can be initializd to anything 1→ n, Mutex needs to start as unlocked