Re: NSRunLoop looping more than once?
Re: NSRunLoop looping more than once?
- Subject: Re: NSRunLoop looping more than once?
- From: Brant Vasilieff <email@hidden>
- Date: Thu, 20 Mar 2003 19:38:13 -0800
You could try using a thread that sleeps for a period of time.
Although I'd define real-time as the ability to finish handling a data
segment before being given a new data segment. It's possible to have
real-time systems that use no timers, or periodic polling threads.
I suppose it depends on how you're doing your data acquisition.
On Thursday, March 20, 2003, at 04:26 PM,
email@hidden wrote:
I am writing a "real-time" framework for Cocoa. So, I do not see how
I am going to avoid using at least one repeating NSTimer to drive the
code. Perhaps, the "minimal-polling" way to do "real-time" is to have
only one NSTimer driven runLoop and let it "poke" the rest of the code
via "real" sources.
I don't see how it follows from "real-time" that you need to use an
NSTimer.
_______________________________________________
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.