
Concurrency
Programming Throwdown
00:00
How to Get the Most Out of Multiple Resources
If you have multiple things that need protection against race conditions or need mutexing, try to just lock them all together. This is when there's more than a single resource that you need to get your job done. It sounds really like oologists never do that,. But as jason says, it's actually pretty subtle that you're doing this - because in a big m there's often many locks flying around and being locked and unlocked.
Transcript
Play full episode