Quant Dev C++ Interview Question: Implement Mutex

0:00 · Watch on YouTube

Zach presents a C++ interview implementation of a mutex as a test-and-set spinlock: a shared flag, lock/unlock paired with acquire/release ordering, and a multi-thread test that joins workers before reading a shared c...

Read the full summary on retube