01-源码注释系列之Thread.yield();
public static native void yield();
A hint to the scheduler that the current thread
is willing to yield its current use of a processor.
提示调度器当前线程想要处理器。
The scheduler is free to ignore this hint.
当然调度器可以忽略这个提示。
Yield is a heuristic attempt to
improv...
原创
2022-02-22 11:03:38 ·
196 阅读 ·
0 评论