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

Refactor pool #247

Open
GGXXLL opened this issue Jul 26, 2022 · 1 comment
Open

Refactor pool #247

GGXXLL opened this issue Jul 26, 2022 · 1 comment
Assignees

Comments

@GGXXLL
Copy link
Contributor

GGXXLL commented Jul 26, 2022

  • factory mode
  • sync function for test
  • work stealing mode, keep one goroutine pool
  • recycle goroutine with time or jobCount
@GGXXLL GGXXLL self-assigned this Jul 26, 2022
@Reasno
Copy link
Member

Reasno commented Jul 26, 2022

bonus:make nil value a valid pool, like sync.WaitGroup. (so that we don't have to inject it in tests)

@GGXXLL GGXXLL linked a pull request Aug 9, 2022 that will close this issue
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 a pull request may close this issue.

2 participants