Abstract
The next time you pay for groceries in a supermarket, look at the lines at the checkout stands. If there’s only one open checkout stand, there’s likely a long line of customers waiting to pay. That means everyone has to wait their turn before they can leave. However if there are multiple checkout stands open, more customers can pay at the same time and the wait time for everyone is much less. That’s the basic idea behind multithreaded programming.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Wang, W. (2022). Multithreaded Programming Using Grand Central Dispatch. In: Pro iPhone Development with SwiftUI. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7827-7_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-7827-7_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-7826-0
Online ISBN: 978-1-4842-7827-7
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)