title: Passing Data between thread using C issue
body: <p>I want know how to pass data between threads using <strong>C</strong> language.</p>
  
  <p>For example:X waits for a message from somewhere.<br>
  Y sends T-X a message about an event and waits for a response.<br>
  T-X deals with the event and sends a response to T-Y.<br>
  T-X waits for another message.</p>