title: using posthreadmessage() from different threads
body: <p>i am not quite sure whether this is the correct way to do this (im a hobbyist). I would like to post messages to a worker thread which loops GetMessage() and depending on the message does something. I understand i have to use posthreadmessage() with the handle of that worker thread.</p>
  
  <p>Here is my question:</p>
  
  <p>Can i use </p>
  
  <pre><code>PostThreadMessage(idWorkerThread, WM_COMMAND, (WPARAM)0, (LPARAM)0))
  </code></pre>
  
  <p>from multiple different threads? I understand that that might cause writes of messages into the Worker threads message queue at the same time from different threads. Is that a problem or is it fine? Essentially i want a N->1 inter-thread communication.</p>