Version: 1.0.1

Posted: 2005-07-26

Build Requirements: Xcode 2.1 (for Universal Binary), Xcode 1.1+

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

View Source Code:

Download Sample (“ThreadsImportMovie.zip”, 156.7K)
Download Sample (“ThreadsImportMovie.dmg”, 211.0K)



Description

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.

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

Xcode 2.1 Project builds Universal Binary

For more information see "Threaded Programming and QuickTime":

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

Document Revision History

Date Notes
2005-07-26Updated to produce a universal binary. No code changes were required.
2004-04-12Demonstrates importing and displaying QuickTime Movies 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.