title: Running two while loops simultaneously
body: <pre><code>int main()
  {
     while(1)
     {
         // some code
     }
     while(1)
     {
         // some code
     }
  }
  </code></pre>
  
  <p>How to run two while loop simultaneously ? How parallel programming is implemented for this in windows ? I'm using mingw compiler .</p>