The global queue is a queue used to perform non-UI work in the background thread. You should know about global queues because it helps you learn how to put work in a background thread.
- [Instructor] Grand central dispatch … also provides us with a global queue to work with. … The global queue is a concurrent queue, … that executes tasks based on the priority of the task. … The priority of the tasks … describes how important a task is. … And the way we set up its importance, … is by using quality of service, … better known as QoS. … QoS is used to communicate developer intent … and classification of work. … For example, you'll say, … I'm doing user specific initiated work … and the system will get the right value for that device … and platform. … We have four main types for quality of service … and one default. … They're namely userInteractive, … userInitiated, default, utility and background. … At the top of the priority list, … is a user initiated QoS … and background QoS has the least priority. … The first one is userInteractive. … Tasks that have a user interactive quality of service … run on the main thread. … They're executed immediately, … to ensure a great user experience. …
Skill Level Intermediate
1. Evolution of GCD
2. Working with Queues
3. Asychronous vs. Synchronous Execution
4. Concurrency vs. Parallelism
What are deadlocks?1m 21s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.