- 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
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