Skip to main content

Multithreaded Programming Using Grand Central Dispatch

  • Chapter
  • First Online:
Pro iPhone Development with SwiftUI
  • 1080 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics