Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go.mod: update github.com/tiancaiamao/gp #652

Merged
merged 2 commits into from
Dec 30, 2022
Merged

Conversation

tiancaiamao
Copy link
Contributor

This can't guarantee the task is consumed by the new spawned goroutine

		go worker(p)
		p.ch <- f

so change it to

                go worker(p, f)

tiancaiamao/gp@9170883

Signed-off-by: tiancaiamao tiancaiamao@gmail.com

Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
@sticnarf sticnarf merged commit 43601f3 into tikv:master Dec 30, 2022
@tiancaiamao tiancaiamao deleted the gp branch December 30, 2022 14:11
hawkingrei pushed a commit to hawkingrei/client-go that referenced this pull request Feb 24, 2023
Signed-off-by: tiancaiamao <tiancaiamao@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants