Van Tran

10%
Flag icon
The chunks of our program may appear to be running in parallel, but really they’re executing in a sequential manner faster than is distinguishable. The CPU context switches to share time between different programs, and over a coarse enough granularity of time, the tasks appear to be running in parallel. If we were to run the same binary on a machine with two cores, the program’s chunks might actually be running in parallel.
Concurrency in Go: Tools and Techniques for Developers
Rate this book
Clear rating
Open Preview