The best replacement for thread.yield is thread.sleep(0). |
The best alternatives to thread.yield are rated as following: |
|||||
|
|||||
Your alternative for thread.yield is not listed? Suggest! |
No companions for thread.yield have been suggested so far. |
You have in mind a companion for thread.yield and it is not yet here? Propose! |
thread.yield |
|
thread.sleep(0) |
|
thread.sleep |
|