3 ms·
I think Thread.yield() would do that?
by Phelinofist 4y ago
I think Thread.yield() would do that?
- xxs 4y agoThread.yield() is very weird, and something I'd not advise using aside spin lock with backoff. It's OS dependent, and if may just bounce to the OS and back, continuing the current execution.