Re: [Q] NSThreads and UI
Re: [Q] NSThreads and UI
- Subject: Re: [Q] NSThreads and UI
- From: Cameron Hayne <email@hidden>
- Date: Fri, 20 Sep 2002 02:51:31 -0400
On Friday, September 20, 2002, at 12:18 am, Mark de Jong wrote:
I've got a task that gets time-consuming and I'd like to do it in its
own thread.
The main issue I'm having is that even though a method is running in
its own thread, the UI is really bogged down and doesn't function at
all
You should use the Sampler utility to see where your program is
spending its time. And use Thread Viewer to see how much time is being
spent in each thread. Maybe your UI is bogged down because of a lock.
You might find it useful to look at the way I implemented a calculation
thread in my test project "ImageCalc" which is available at:
http://hayne.net/MacDev/ImageCalc/
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.