Re: Catching a click during a loop
Re: Catching a click during a loop
- Subject: Re: Catching a click during a loop
- From: Mark Williams <email@hidden>
- Date: Sun, 31 Jul 2005 08:10:04 -0700
Thank you for the link.
I'll read it over and see what I can learn from it. Thanks
Mark.
On Jul 30, 2005, at 11:18 PM, John Stiles wrote:
Just FYI, threading isn't a small tweak. You do need to use a
thread in order to solve your problem, but there are a lot of
things you need to know first.
You should probably spend an hour or two and read about it before
writing too much code:
http://developer.apple.com/documentation/Cocoa/Conceptual/
Multithreading/index.html#//apple_ref/doc/uid/10000057i
(There might be better resources as well; this was one of the best
links I could pull up after searching for a minute or two.)
On Jul 30, 2005, at 10:40 PM, Mark Williams wrote:
Ok. I will move it to a new thread. I tried that before and it
made no difference before but I must have done it wrong. I think I
know where the mistake there was.
Thanks,
Mark.
On Jul 30, 2005, at 8:26 PM, Cameron Hayne wrote:
On 30-Jul-05, at 10:42 PM, Mark Williams wrote:
Ok, well it's not taking the click at all until after the loop
finishes.
So I guess I'm wondering what I did wrong in this loop that I
cannot click cancel.
It sounds like your loop is in the main thread instead of being
on a separate thread. If it were on a separate thread, it
wouldn't affect the main thread.
--
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:
40blizzard.com
This email sent to 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