• 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: main loop and idle function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: main loop and idle function


  • Subject: Re: main loop and idle function
  • From: Nicholas Shanks <email@hidden>
  • Date: Sun, 24 Feb 2002 11:04:31 +0000

On Saturday, February 23, 2002, at 07:32 pm, Bernard van Gastel wrote:

Hi

I just searched for 1.5 hour in the docs, but didn't find what I was looking for. I want NSApp to call a special function when the app is idle.
I searched for a Notification name for the event, but didn't found one. Any help will be appreciated. If there isn't such a function, is it possible to implement my own event processing loop like [NSApp run], so I can use the idle time?

You could spawn a thread with a very low priority.


Nicholas Shanks
--

http://nickshanks.com/
_______________________________________________
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.

References: 
 >main loop and idle function (From: Bernard van Gastel <email@hidden>)

  • Prev by Date: Re: DVD Playback in a tiny window in my Cocoa app
  • Next by Date: Hanging on validateMenuItem when a document is minimized
  • Previous by thread: main loop and idle function
  • Next by thread: Re: main loop and idle function
  • Index(es):
    • Date
    • Thread