|
|
|
|
|
by rajangdavis
3779 days ago
|
|
What language is this in? Never really tried anything like this before, but just went through the entire game and beat it. Seems like you have to trick the threads in the correct sequence in order to introduce deadlocks, but what is the overall context of the game? (It was fun, but I didn't know what I was doing half the time; I just tried to get the threads to hit the critical code functions) |
|
This manually "trickery" you are introducing is you intentionally replicating potential control flows that can (and will) happen in real life. You should come out of this game with a new/renewed paranoia about multithreaded programming and how seemingly safe code may not necessarily be so.