Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread safety




I'm using an URL data handler component to read a contents of an URL.
Since it was slow in the synchronous mode, I made it a separate
thread so it does not block the UI and it works fine.

Anyone knows if it is thread safe with QuickTime 6.5[.4] and 6.0 API?


Hi Tomas,

I seem to remember that the URL data handler was not thread-safe in QuickTime previous to version 7. So, on if you're not using the techniques outlined in TN2125 < http://developer.apple.com/technotes/tn/tn2125.html > your milage may vary. If you are using the techniques you should see a componentNotThreadSafeErr returned when attempting to open a movie file using this data handler with QuickTime 6.4 - 6.5.x. Once the Windows SDK (and release) for QT 7 is available you should probably revise your code appropriately and be "safe".

regards,
edward

 Edward Agabeg
 WWDR Engineer
 QuickTime and Audio
 Worldwide Developer Relations
 Apple

 http://www.apple.com/developer
 http://www.apple.com/quicktime

-- This message was sent from a personal account --
-- All views are mine and not necessarily shared by my employer --
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.