The custom queues are queues created by the developer. They can either be serial or concurrent. They also have an attribute for priority. There are several types of custom queues. You should know about the different custom queues because it helps you decide which priority to give a queue.
- [Instructor] Finally, let's look at how … to create our own queues, better known as custom queues. … Custom queues can be either serial or concurrent. … Most often, custom queues are executed on a global queue. … Here's how we create custom queues. … The difference in code is there to specify … an attribute for the concurrent queue. … In the absence of an attribute, … the custom queue will be a serial queue. … Attributes are what define the behavior … of the queue. … We are presented with two major attributes … when creating the queues. … We have concurrent, … which will make your queue execute tasks concurrently. … Custom queues are useful when you want … to perform tasks in the background queue and track them. … This is to say that requests in these queues … actually end up in the global queue. … Then we have initially inactive. … When we change the attribute to initially inactive, … watch what happens when we hit run. … Nothing happens. … By assigning initially inactive, … we are creating an inactive, concurrent queue. …
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.