Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Mac OS X Mac OS X or later

View Source Code:

Download Sample Code (“SimpleThreads.zip”, 55.8K)



Description

This sample demonstrates a simple use of the Cocoa threading APIs, including the use of Distributed Objects (DO) to coordinate multiple pre-emptively scheduled secondary threads with the non-reentrant Cocoa framework. Note: The TrivialThreads sample is required reading for this sample; you will not understand this sample unless you understand TrivialThreads. Requirements: Mac OS X or later Keywords: Threading,Threads, MP, NSThread

Document Revision History

Date Notes
2003-01-14Uses the Cocoa threading APIs to coordinate multiple preemptively scheduled secondary threads with the non-reentrant Cocoa framework.