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: Crash when adding/removing movie



> Try to surround your adding/removie calls with carbonlock.
> 
> import com.apple.mrj.macos.carbon.CarbonLock;
> try {
> 	CarbonLock.acquire();
> 
> 	// your carbon call here
> 
> } finally {
> 	CarbonLock.release();
> }

Paulo, thank you, I'll try this. 
I didn't know about this call. I found info about it in

http://developer.apple.com/documentation/Java/Conceptual/Java131Development/Java131Development.pdf

It really seems to address a different problem (I would expect QTJava to address safe multithreading itself) but I'll try it all the same.

By the way is the above document still relevant to 1.42 Java or have things changed since 1.3.1?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/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.