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

Enhanced GoPool with additional methods and tests #10

Merged
merged 1 commit into from
Aug 10, 2023
Merged

Conversation

daniel-hutao
Copy link
Contributor

  • Added comments to the GoPool interface methods for better understanding.
  • Introduced Running() and GetWorkerCount() methods to GoPool for tracking worker status.
  • Modified NewGoPool() to initialize workers and workerStack after WithMinWorkers() is called.
  • Added a test case for GoPool with minimum workers.

#7

- Added comments to the GoPool interface methods for better understanding.
- Introduced Running() and GetWorkerCount() methods to GoPool for tracking worker status.
- Modified NewGoPool() to initialize workers and workerStack after WithMinWorkers() is called.
- Added a test case for GoPool with minimum workers.

Signed-off-by: Daniel Hu <[email protected]>
@daniel-hutao daniel-hutao merged commit d747347 into main Aug 10, 2023
@daniel-hutao daniel-hutao deleted the test branch August 10, 2023 10:02
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.

None yet

1 participant