What is java locksupport Parknanos Net equivalent?
•
Java
Basically, I need a way to start submicrosecond thread sleep, just like parknanos
Thread. Sleep seems to be accurate to milliseconds
Solution
Try thread SpinWait
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码