Back to Mac Usenet

From: Shawn Hirn <srhi@comcast.net>
To: All
Subject: Re: Threading Question
Date:Sat, July 05, 2008 10:42 PM


In article <0001HW.C20DE0FE00063BF8B042494F@nntp.dsl.pipex.com>,
Dave <dave@lookNOtoSPAMwindward.com> wrote:

> 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.

I suggest you subscribe to Apple's developers list and post your
question there.


38


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