Back to Mac Usenet

From: Dave <dave@lookNOtoSPAMwindward
To: All
Subject: Threading Question
Date:Sat, July 05, 2008 10:42 PM


Hi,

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 and have this
process the movie, the host application would then "poll" a flag to see if it
had finished.

How can I go about doing this? What documents should I look at? Any advice
greatly appreciated.

All the Best
Dave


37


Running TeleFinder Server v5.7.
© Copyright Spider Island Software