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

Concurrency for traversal #86

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

fishi0x01
Copy link
Owner

@fishi0x01 fishi0x01 commented Feb 21, 2021

⚠️ This is still work in progress.

This addresses #78
Use fixed number of worker threads to apply operations on traversed paths.

  • Traverse pushes paths to go channel
  • runCommandWithTraverseTwoPaths uses worker threads which consume the above channel

Currently, only rm, mv and cp profit from this.

@fishi0x01 fishi0x01 added the enhancement New feature or request label Feb 21, 2021
@fishi0x01 fishi0x01 self-assigned this Feb 21, 2021
@fishi0x01 fishi0x01 force-pushed the traversal-concurrency branch from 8c2ba99 to 57ecfb1 Compare February 21, 2021 18:21
@fishi0x01 fishi0x01 mentioned this pull request Feb 21, 2021
@fishi0x01 fishi0x01 force-pushed the traversal-concurrency branch 2 times, most recently from a649e46 to 4419c23 Compare February 23, 2021 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant