Re: Sleep?
Re: Sleep?
- Subject: Re: Sleep?
- From: Uli Kusterer <email@hidden>
- Date: Thu, 10 Nov 2005 11:34:53 +0100
Am 09.11.2005 um 17:53 schrieb Brian O'Brien:
I am trying to get a thread class debugged and I am trying to
simulate a
thread routine that takes a few seconds to complete and then
finishes...
In that case, I think *sleep() is what you *don't* want. Sleep will
suspend that thread for that long. If you actually want to test how
something doing work would interact with your code, then this is the
one exception to the rule where you'd want to just write an empty
loop that burns cycles.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Sleep? (From: "Brian O'Brien" <email@hidden>) |
| >Re: Sleep? (From: j o a r <email@hidden>) |
| >Re: Sleep? (From: "Brian O'Brien" <email@hidden>) |