| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hi Tomas, thanks for pointing that the URL data handler is not thread safe. Maybe it should be written in the TN that this particular handler is not thread safe. Now it looks like it is missing. I had forgotten about that list. So, what's listed are thread-safe components as of 6.4. This has changed of course for 7 on Macintosh. Not sure what the state of thread-safety will be for the Windows 7 release yet (officially anyway...). I'd love to use techniques described in TN2125 if there was qtmlclient65.lib. ;) As far as I can tell, my code is very similar to the code used in ThreadImport except it is done in separate a thread/MPTask. In your situation, if you call EnterMoviesOnThread it would mean that you would not be able to use the component from a background thread. This is because as soon as you call EnterMoviesOnThread in the recommended fashion you would receive a componentNotThreadSafeErr and wouldn't be able to do what you're doing now. You would be forced to do the work on the main thread like the Sample ends up doing when run under QT 6.5.x. So there's no value here for you. So, what do you do? Well...if you're fine with the possibility something may go wrong (not to say that it will) then don't worry about it and just continue doing what you're doing but make a plan to upgrade to QT 7 as a requirement for your application on both platforms as soon as you can, then do the right thing and change the code appropriately. I see that the call to [Enter|Exit]MoviesOnThread would probably be accessible even with 6.0 SDK by looking up the appropriate EAX selector for theQTMLDispatcher. May that be right? If you know what the selector number is, presumably you could get away with it...but I don't recommend doing it and more than that, it won't solve anything when using QT 6.x I'm really looking forward for QT7 Win SDK. Just the SDK? What about the release? :) 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
| References: | |
| >Re: Thread safety (From: Tomas Zahradnicky <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.