O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Problems with concurrency

Concurrency means doing more than one independently happening thing during some time period. This is a general term, and the method of these different things happening might differ based on the circumstances. For instance, if you have a concurrent program running on a single-core machine, the execution of that program would jump between various tasks. If you had a multicore machine, the execution of the different parts might happen in parallel.

As a real-life experience, you could think of the process of preparing a dish. It is a concurrent process: you need to boil the rice, make a salad, fry the tofu, and make the salad dressing. Possibly, your child will need something, and you'll need to interact with them. If ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required