Re: user-stoppable program
Re: user-stoppable program
- Subject: Re: user-stoppable program
- From: Cameron Hayne <email@hidden>
- Date: Thu, 25 May 2006 18:21:06 -0400
On 25-May-06, at 10:25 AM, email@hidden wrote:
Indeed, according to the documentation, ``you can use threads to
perform several, lengthy calculations while your user interface
continues to respond to user commands" : this is exactly
what I'm looking for (I want my application to perform the
calculations
and at the same time
have a responsive UI)
I'm working on it, but as I'm not familiar with threads any
further
help from those who use NSThread every day would be welcome !
Multithreaded programs are always tricky.
You should read the Apple docs on threading in Cocoa.
And you might want to have a look at my example program "ImageCalc":
http://hayne.net/MacDev/ImageCalc/
or (in a more complicated setting), my "IsingCocoa" program:
http://hayne.net/MacDev/IsingCocoa/
--
Cameron Hayne
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden