Queues vs threads crystal disk mark2/15/2023 Now you should aware about advantages and disadvantages of NSTread and NSOperation. NSOperation actually uses GCD under the hood so it is as multi-core, multi-thread capable as GCD.NSOperation allows for subclassing, dependencies, priorities, cancellation and a supports a number of other higher-level features.Use NSOperationQueue when you have more complex operations you want to run concurrently.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |