title: How to find out if a thread has message queue?
body: <p>Is there any way to find out from threadId , if a thread has message queue or not?</p>
  
  <p>Basically there are some windows api which only work if a thread has message queue.window</p>