title: Sample code for asynchronous programming in C
body: <p>I need to program asynchronous ODBC driver,which need to handle user requested ODBC APIs in asynchronous way. I am desperate to know how to write an asynchronous program portable on all platforms. 
  Can you please provide me a basic C code on how to right asynchronous code?</p>
  
  <p>Thanks in advance.</p>