Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
The current spec for Thread.yield "Causes the currently executing thread object to temporarily pause and allow other threads to execute." is inadequate because - there is no guarantee that the thread will or will not pause. - if there are idle processors it is unlikely to pause. - it should be clearer that this is a hint to the implementation, almost a "no-op". - it should be made clear that ordinary application developers should not use this method. It is only appropriate in unusual circumstances. That is, it should be denigrated.
|