how to pause and resume a surfaceView thread how to pause and resume a surfaceView thread multithreading multithreading