Welcome to MacForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Threading Question

 
   Macintosh computer (Home) -> Programmer Code RSS
Next:  Record with variable name as property name  
Author Message
Dave

External


Since: Mar 02, 2007
Posts: 1



(Msg. 1) Posted: Fri Mar 02, 2007 2:11 pm
Post subject: Threading Question
Archived from groups: comp>sys>mac>programmer, others (more info?)

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

 >> Stay informed about: Threading Question 
Back to top
Login to vote
Jonathan Hoyle

External


Since: Jun 10, 2005
Posts: 26



(Msg. 2) Posted: Fri Mar 02, 2007 2:11 pm
Post subject: Re: Threading Question [Login to view extended thread Info.]
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

On Mar 2, 9:11 am, Dave 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.
>
> All the Best
> Dave

As this does not appear to be a CodeWarrior question, why did you post
this here?

 >> Stay informed about: Threading Question 
Back to top
Login to vote
Shawn Hirn

External


Since: Jul 16, 2005
Posts: 322



(Msg. 3) Posted: Sat Mar 03, 2007 8:43 pm
Post subject: Re: Threading Question [Login to view extended thread Info.]
Archived from groups: comp>sys>mac>programmer, others (more info?)

In article ,
Dave 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.
 >> Stay informed about: Threading Question 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Cw 9 Question to MW Ron - Hi Ron I have both the Mac and Win versions of CW 7 and I haven't upgraded because I was travelling. Now I am ready to Upgrade to CW 9, I would like to know when CW 9 will come in Mac/Win versions with Java included or is that dead in the water now. I....

9.2 C++ question - In converting my app from 8.3 to 9.2, I ran into a C++ question on some code that I inherited: I get this error: Error : the local type 'MyLayerDialogList::@class$33494MyLayerDialogList_cpp' cannot be used in template arguments..

MW Ron -- SDK Question... - Hi Ron... First time question... See below and verify please. in: CW8:Codewarrior SDK:Sample_Plugins:Sample_Compiler:Sample_Compiler.c:: IncludeFile(...); Please answer this.... if(callbackResult != cwnoErr && callbackResult != cwErrFileNot...

BSD Socket question - Hi! I am writing plug-ins for Photoshop and After Effects and want to add some BSD sockets functionality. The example projects from Adobe, which was my starting point, does not have any framework. Is it possible to do it? Thanx Gus

A newbie question - Hi all, Sorry if this is an age-old question, but i'm realy struggling to find the info I need. I'm coding for max/msp using codewarrior (in C) on OS9 and I want to communicate with localhost. Can anyone tell me the best way to go about this? Many..
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]