I'm using the method from the accepted answer here to construct a gameloop thread.
Where to stop/destroy threads in Android Service class?
At the moment, my thread basically gets the time, makes a single Native Function call that updates the game logic, then sleeps by the adjusted passed time.
What I'm curious of, since I'm still not very comfortable with Threads, is how fast a Thread is killed with interrupt()? If it is in the middle of the code running in the Native Function, will it stop in the middle of it, or will it safely complete?
Thanks ahead of time, Jeremiah