![Hands-On Design Patterns with Swift](https://wfqqreader-1252317822.image.myqcloud.com/cover/72/36699072/b_36699072.jpg)
上QQ阅读APP看书,第一时间看更新
Organizing execution with groups and semaphores
Groups and semaphores help you to organize the execution of your program when you need to do the following:
- Wait for one or more tasks to complete
- Ensure that a resource has proper access control, across multiple contexts