Duplication of threads?
<p>I am implementing one app related to alaram manager and brodcastreceivers.</p>

<p>I am repeting alarm in every minute,through the alarm manager I call brodcastresever class.
In side this class I am implementing one thread. The code is as follows:</p>

<pre><code>runnable = new Runnable() 
{
  public void run() 
  {
    while(i&gt;o)
    {

    }
  }
</code></pre>

<p>if <code>i&gt;o</code> the thread will continue.
Another time my alaram manager call brodcast resever class. That time also one new thread is created with old thread. This increases duplication of threads.</p>

<p>How to avoid that?</p>
