I have a Carbon Dynamic Library (built using XCode) that is a plug-in
to another application. Basically it uses QuickTime to grab frames of
a movie and then analyzes each frame and produces a report at the end.
It works really well, except that it hogs the processor and the host
application is locked out until the end of the movie.
What I would like to be able to do is to Start up a new thread when I
get called and have this process the movie. The host application
would then "poll" via a "Are you done?" API which would return "no"
until the other thread had finished?
How can I go about doing this? What documents should I look at? What
is the recommend API to use? Is there any sample code I could look at?
Any advice greatly appreciated.
All the Best
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden