Re: Idle Time in a loop
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.