Is it just me or is the example they use for the locking extremely badly implemented?
Why would one ever result at that methodology?
Why would one ever result at that methodology?
Of course their example will be detached from reality. But it doesn't matter.
I still don't really see behaviors helping with this. Like yeah you avoid deadlocking, but now you're abstracting away mutexes :S