Am 07.01.2007 um 01:13 schrieb Jonathan Johnson:
You can call Sleep if you'd like. Either Suspend or Resume should
do it for you. If you know how long you're going to sleep for,
Sleep is much easier than trying to Suspend then Resume. In any
event, when a thread is suspended, it is removed from the list of
potential threads, which means when we calculate how long we can
yield to the system, we should tell it we can yield forever.
However, there may be a bug that you're running into. What version
are you using? As of r4 (IIRC, maybe 2007r1) we fixed a bug in
which the app would eat up a lot more CPU than necessary when all
the threads were sleeping on OS X.
I'm on 2007r1, since the IDE never crashed yet.
I'll do some testing and report results.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>