title: Go Threads - STOP Execution
body: <p>I have two goroutine like,</p>
  
  <pre><code>Routine 1 {
  // do something
  }
  Routine 2 {
   // do something
  }
   main {
   // do something
  }
  </code></pre>
  
  <p>Is it possible from in routine 1, if some condition met, stop whole program execution ? Stop  execution of main and Routine 2 ? Can give a simple example.</p>