- Read carefully the documentation page of the sync package that can be found at https://golang.org/pkg/sync/.
- Try to implement dWC.go using a different shared memory technique than the one used in this chapter.
- Implement a struct data type that holds your account balance and make functions that read the amount of money you have and make changes to the money. Create an implementation that uses sync.RWMutex and another one that uses sync.Mutex.
- What would happen to mutexRW.go if you used Lock() and Unlock() everywhere instead of RLock() and RUnlock()?
- Try to implement traverse.go from Chapter 5, Files and Directories using goroutines.
- Try to create an implementation of improvedFind.go from Chapter 5, Files and Directories using goroutines.
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