![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Concurrent Programming
文章平均质量分 83
chuanyituoku
这个作者很懒,什么都没留下…
展开
-
Concurrent Programming 6:Using Threads for Concurrency
Using Threads for Concurrency Now that you have learned about threads and synchronization, you will implement an example program that performs concurrent processing using threads and these synchron原创 2013-11-25 00:03:09 · 763 阅读 · 0 评论 -
Choosing the Right API for Concurrent Programming
Choosing the Right API for Concurrent Programming This chapter has covered a variety of approaches for concurrent programming, so you have several options to choose from. To recap, the following ar原创 2013-11-28 16:00:30 · 668 阅读 · 0 评论 -
Using Operation Queues for Concurrency
Using Operation Queues for Concurrency You have implemented a concurrent program using threads and a concurrent operation, so now you will implement a program that uses operations and an operation原创 2013-11-28 15:35:02 · 858 阅读 · 0 评论 -
The Different Definitions between Concurrent processing and Asynchronous processing
Concurrent processing refers to multiple logical control flows that may execute in parallel. Asynchronous processing, on the other hand, is effectively a mechanism for the asynchronous (i.e., nonbl原创 2013-11-28 16:14:22 · 677 阅读 · 0 评论 -
Brief Intro to Operations and Operation Queues of Foundation Framework
Operations and Operation Queues In Chapter 11, you learned about operation objects, instances of the NSOperation class (and its subclasses) that encapsulate the code and data for a single task.原创 2013-11-27 18:12:35 · 1021 阅读 · 0 评论 -
Concurrent Programming 1: Shared Data and Message Passing
Shared Data The shared-memory model requires a mechanism to coordinate shared data access between the threads. This is commonly implemented using a synchronization mechanism; for example, a lock原创 2013-11-24 21:18:12 · 886 阅读 · 0 评论 -
Concurrent Programming 3 : Language Features (OC)
可能对atomic 和 nonatomic不太理解,看这里: http://stackoverflow.com/questions/588866/atomic-vs-nonatomic-properties Language Features The @synchronized directive provides a simple mechanism for c原创 2013-11-24 21:58:44 · 659 阅读 · 0 评论 -
Concurrent Programming 2: Concurrent Programming with Objective-C
Concurrent Programming with Objective-C Now that you understand some of the key issues regarding concurrent programming, you can begin to explore the mechanisms available to implement concurrent pr原创 2013-11-24 21:25:04 · 901 阅读 · 0 评论 -
Concurrent Programming 5:Threads
Threads As mentioned earlier in this chapter, a thread is a logical control flow that executes within the context of a single process. The Apple OS X and iOS operating systems provide direct supp原创 2013-11-24 23:00:13 · 1012 阅读 · 0 评论 -
Concurrent Programming 4:Message Passing
Message Passing The Foundation Framework NSObject class includes a collection of methods that use the message-passing paradigm to invoke a method on an object with a thread. The thread can be an原创 2013-11-24 22:19:35 · 704 阅读 · 0 评论 -
Grand Central Dispatch (GCD)
Grand Central Dispatch Grand Central Dispatch (GCD) is a set of language features, C-based APIs, and system enhancements that support the use of dispatch queues for executing tasks. GCD dispatch原创 2013-11-28 15:48:39 · 759 阅读 · 0 评论