• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSRunLoop looping more than once?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: The best way to hide views.
  • Next by Date: Re: Proper way to run runloop for DO server?
  • Previous by thread: Re: NSRunLoop looping more than once?
  • Next by thread: LaunchServices vs exec()
  • Index(es):
    • Date
    • Thread