Version: 1.0.1

Posted: 2005-07-26

Build Requirements: Xcode 2.1, Xcode 1.0 or later.

Runtime Requirements: Mac OS X 10.4.x or Mac OS X 10.3 (Panther) or later with QuickTime 6.4 or later.

View Source Code:

Download Sample (“ThreadsExporter.zip”, 139.0K)
Download Sample (“ThreadsExporter.dmg”, 185.3K)



Description

ThreadExporter demonstrates importing and exporting still images in different formats 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 program's 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: Xcode 2.1 project builds universal binary.

This sample will not run on Mac OS X 10.2.x (Jaguar) even with QuickTime 6.4 or later.

Document Revision History

Date Notes
2005-07-26Updated to produce a universal binary. No code changes were required.
2003-11-13Demonstrates importing and exporting still images in different formats on separate threads.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.