Related to your What's issue with this goroutine code?, your codes are not reflecting to your objective. The design focus is not 5. Generally speaking, your problem would not be far from the 5 philosophers dining problem example I had given to you.
1 Like