Also a great way of visualizing some basic problem with concurrency.
Gridlock is excellent demonstrated as above, if you are putting things in a queue for a thread that is taking forever to run, the producer thread will eventually (hopefully) be blocked due to memory issues, thus passing the slow down further up the chain. Much like a road, and exactly like the visual effect seen here.
Comments
Also a great way of visualizing some basic problem with concurrency.
Gridlock is excellent demonstrated as above, if you are putting things in a queue for a thread that is taking forever to run, the producer thread will eventually (hopefully) be blocked due to memory issues, thus passing the slow down further up the chain. Much like a road, and exactly like the visual effect seen here.