2 ms·
I saw this image [1] a while ago. At first I thought it was clever, implying that multithreaded programming often seems like chaos in practice. But actually, th
by bottled_poe 12y ago
I saw this image [1] a while ago. At first I thought it was clever, implying that multithreaded programming often seems like chaos in practice. But actually, that chaos is a result of the nondeterministic nature of concurrent processing. Each thread is doing it's own thing as quickly as possible. Specifically, it is important to note that concurrent threads cannot be expected to perform at equal speed.
In this particular analogy, if the goal is to consume the food as quickly as possible, this may be the most efficient solution.
1. http://i.imgur.com/iDVTstR.jpg http://i.imgur.com/iDVTstR.jpg