Skip to content

Exercise 10.2 refers to incorrect listing #12

Description

@asarkar

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions