title: Starting new threads from a thread
body: <p>I am working on a project where one thread forks 4 other threads and waits for their completion. The forking thread should have the ability to stop the forked threads at any time.
  To, accomplish the same, I did something as such:</p>
  
  <pre><code>class ForkedThread implements Runnable {
      public boolean keepRunning = true;
      public void run() {
          while(keepRunning is true ){
          //Do the Job
          }
      }
  }
  </code></pre>
  
  <p>Now since <strong>keepRunnig</strong> is public, it can accessed from outside and can be made false.
  My Question is will I have to synchronize the usage of <strong>keepRunning</strong> or its fine.
  Secondly, is this technique OK. Or shall I use a <code>ThreadPool</code> to do my job. 
  Actually, using <code>ThreadPool</code> will increase the complexity of my code, which I didn't wanted. Please help.</p>