title: Pausing execution of a Thread WITHOUT sleeping?
body: <p>I am using the Skype API, which sends back a message everytime it receives one. I am not sure if this really <strong>is</strong> what is causing it, but it's the closest I can get: When I send too many messages, the COM control can't handle all the replies, which causes it to crash the whole app. That happens when I use a <code>for</code> loop.</p>
  
  <p>I am using Threads to do the job, so my program won't hang. I know I can do <code>Sleep();</code> in the thread, and will (should) not make the whole program sleep. The problem is though, that my COM control will be sleeping aswell, so it still wont be able to process whatever it needs, so it can keep up again.</p>
  
  <p>So, the question is: How can I pause the <strong>routine</strong> without pausing the whole thread, so that the replies can be processed by my COM object, without overloading?</p>