Re: Using NSThreads in command-line apps
Re: Using NSThreads in command-line apps
- Subject: Re: Using NSThreads in command-line apps
- From: ben syverson <email@hidden>
- Date: Thu, 15 May 2008 14:16:20 -0500
On May 15, 2008, at 1:47 PM, Bill Bumgarner wrote:
Run an NSRunLoop on your main thread. That'll support -
performSelectorOnMainThread:.
Okay -- interesting. One follow-up question... my core loop is
basically:
while(_running) {
// do stuff
}
I don't want to listen to any input, and I want the loop to execute as
fast as possible. However, NSRunLoop says I need to set a timer or an
input...
- ben
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden