Take Up Code

100: Multithreading. Master The Lock.

13:29 | May 3rd, 2016

This episode dives deep into locks. How do they work? And then explains how you can use this to implement a reader-writer lock. A basic lock can be created with the “set and test” instruction. This works by reading a current memory value, setting it ...Show More