Skip to content

if a pool instance used cross go routine, wg.Add() wg.Done() not work correctly as purpose #12

Open
@rabbitHX

Description

example:
routine 1: wg.Add(10) then emit 10 go func wg.Done()
routine 2: wg.Add(2) then emit 2 func wg.Done()
when pool is Wait() ready, the result maybe composed by 8 routine 1 + 2 routine 2

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