thread problem in suspend() and resume()
<p>hi all
i doing a stop watch. for pause i use Thread.suspend() and resume i use Thread.resume(). but the resume is not resume the work.
code:</p>

<pre><code>pause(){
  shouldRun = false; 
  currentThread.suspend();      
}
resume(){
  shouldRun = true; 
  currentThread.resume();  
}
</code></pre>

<p>while(shouldRun){
    .......
  }</p>
