Re: NSThread or NSTimer
Re: NSThread or NSTimer
- Subject: Re: NSThread or NSTimer
- From: Bob Ippolito <email@hidden>
- Date: Tue, 27 Apr 2004 14:52:12 -0400
On Apr 27, 2004, at 2:06 PM, Jesus De Meyer wrote:
I understand that NSThread is usually used with multiple document
applications or when you wanna use a second processor.
But for simple applications that just need some kind of update method,
what should I use? I ask because I have the impression that NSThread
will add better performance than if I use an NSTimer, although I'm not
sure if this statement is true.
Again, I'm talking about simple applications that only have need one
"update loop", for example to update certain interface elements.
For this kind of task, what's better, NSThread or NSTimer?
In general you shouldn't use threads until you have to, so use NSTimer.
-bob
_______________________________________________
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.