- 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
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine