https://github.com/felipeaz/multithread-filesearch
Multithread file searching on Mac OS
https://github.com/felipeaz/multithread-filesearch
concurrency golang
Last synced: 3 months ago
JSON representation
Multithread file searching on Mac OS
- Host: GitHub
- URL: https://github.com/felipeaz/multithread-filesearch
- Owner: felipeaz
- Created: 2021-12-13T13:45:08.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-13T14:27:17.000Z (over 3 years ago)
- Last Synced: 2025-01-07T05:21:57.441Z (4 months ago)
- Topics: concurrency, golang
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# multithread-filesearch
Multithread file searching on Mac OSSimply code that reads all files using recursive function and go routines and stores all matched
filepath which has the README.md name.This example uses mutex to lock the shared variable ``matches`` to avoid race condition and uses
``wait group`` to synchronize the goroutines