• 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: Idle Time in a loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Idle Time in a loop


  • Subject: Re: Idle Time in a loop
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 18 Feb 2002 15:45:58 +0100

Judi,

>>>>>> Judi Smith (JS) wrote at Sun, 17 Feb 2002 15:30:00 -0600:
JS> I have a while loop that is performing a task. How do I allow for time
JS> for, or transfer control to the event loop to process pending events in
JS> the course of the while loop?

It's truly quite easy: you don't. Instead you move your while loop into a
separate thread.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: 
 >Idle Time in a loop (From: Judi Smith <email@hidden>)

  • Prev by Date: Re: GUI contruction from code
  • Next by Date: Re: Newbie question...
  • Previous by thread: Manually creating new NSDocuments
  • Next by thread: Re: Idle Time in a loop
  • Index(es):
    • Date
    • Thread