Basicly, I\'m making a game which to update the players position, it uses this thread:
@Override public void run() { while(true) { System.out.pri
A Thread.yield() can also do it in some cases. See https://www.javamex.com/tutorials/threads/yield.shtml for example. The author of this link does not recommend to use yield however.
Thread.yield()
yield