- Try to implement a concurrent version of wc(1) that uses a buffered channel.
- Next, try to implement a concurrent version of wc(1) that uses shared memory.
- Finally, try to implement a concurrent version of wc(1) that uses a monitor goroutine.
- Modify the Go code of workerPool.go in order to save the results in a file. Use a mutex and a critical section while dealing with the file or a monitor goroutine that will keep writing your data on the disk.
- What will happen to the workerPool.go program when the value of the size global variable becomes 1? Why?
- Modify the Go code of workerPool.go in order to implement the functionality of the wc(1) command-line utility.
- Modify the Go code of workerPool.go so that the size of the clients and data buffered channels can be defined using command-line arguments.
- Try to write a concurrent version of the find(1) command-line utility that...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand