title: Alternative for Postmessage and sendmessage
body: <p>i have a program which is using several threads to execute some task. Each thread is having a bunch of task to execute. after executing one of them, each thred will call a post message to main screen to update logs.</p>
  
  <p>Now i have sixty thousand tasks ten thousand for each thread - six threads- after executing each task thread is calling post messages. but because of these post messages my application becomes very busy and looks like it hanged. </p>
  
  <p>if i remove post messages...every thing works fine. But i cannot call the procedure directly because it uses ui controls and ui controls are not thread safe and calling procedure directly from thread will lead to other errors.</p>
  
  <p>so is there any alternative available for postmessage and send message.</p>
  
  <p>Thanks,
  bASIL</p>