ConcurrentProgrammingWithGo icon indicating copy to clipboard operation
ConcurrentProgrammingWithGo copied to clipboard

Exercise 10.2 refers to incorrect listing

Open asarkar opened this issue 5 months ago • 1 comments

Change listing 10.2 so that the work queue channel between the main() goroutine and the worker pool has a buffer of 10 messages. Doing so will give you a capacity buffer so that when all the goroutines are busy, some of the requests are queued before they can be picked up.

Listing 10.2 demonstrates loop-level parallelism; the exercise means listing 10.12.

asarkar avatar Aug 25 '25 10:08 asarkar

Hi there, Thank you for purchasing the book. Please note that the exercises source code are found under the exercises directory. For this exercise, it's referring to listing 10.2 found at: https://github.com/cutajarj/ConcurrentProgrammingWithGo/tree/main/exercises/chapter10/exercise10.2

cutajarj avatar Aug 27 '25 13:08 cutajarj