Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
5 events
when toggle format what by license comment
May 17, 2022 at 15:19 comment added john k "Concurrency is about structure, parallelism is about execution." ? Yet your picture has parallelism the structured picture, and concurrency is the messy execution. I think you have something backwards.
Sep 25, 2021 at 13:59 comment added plasmacel If puppies are threads here, and bowls are CPU cores, then concurrency would mean that puppies who share the same bowl eat in a way that only a single puppy eat from that bowl at the same time - the picture on the right side is not like that, more like a random mess. They don't even touch the shared resource though. I think this picture is good for only one reason: to confuse people who are trying to understand the concepts of concurrency. I understand the concepts well it tries to visualize, but it makes a terrible job in my opinion.
Sep 25, 2021 at 5:48 comment added Paraneetharan Saravanaperumal @plasmacel just small comparison of real world , puppies( ie thread) are trying to eat in limited number of food bowl (cpu). when they are eating some puppies need to drink water from water bowl (shared resource). for assumption only one water bowl is available that can be accesses by only one puppies. Then puppies need to deal with lot of thing instead of actual eating (execution/doing) such as resource fighting ,starvation, bowl switching, spilling etc...
Sep 16, 2021 at 22:43 comment added plasmacel I just don't get the right side picture. What happens on that?
Sep 16, 2021 at 9:27 history answered Paraneetharan Saravanaperumal CC BY-SA 4.0