Version: 1.0.1

Posted: 2005-07-22

Build Requirements: Xcode 2.1, Xcode 1.1+

Runtime Requirements: Mac OS X 10.3 or later with QuickTime 6.4 or later.

View Source Code:

Download Sample Code (“ThreadsImporter.zip”, 194.7K)



Description

ThreadImporter demonstrates importing and displaying still images on separate threads. For demonstration purposes only, this sample will also allow the use of non-thread safe components on separate threads.

QuickTime 6.4 (on MacOS X 10.3 and later) introduces several new features that support execution of background tasks on multiple threads in a preemptive multitasking environment. This makes it possible to offload many tasks from your applications main thread to forestall blocking the user interface.

For more information see Threaded Programming and QuickTime:

http://developer.apple.com/documentation/QuickTime/WhatsNewQT6_4/Chap1/chapter_1_section_7.html

Note:

This sample will NOT run on Mac OS X 10.2.x (Jaguar) even with QuickTime 6.4 installed.

XCode 2.1 project builds universal binary.

Document Revision History

Date Notes
2005-07-22Updated to produce a universal binary. No code changes were required.
2004-03-18Demonstrates importing and displaying still images on separate threads.