title: Thread Pool Implementation
body: <p>I'd like to make a simple thread pool (on a *nix system) to handle input on my asynchronous communication server. And I have some questions. At first I just want to have a static number of threads, arbitrarily say 6. </p>
  
  <p>How should I send the command to the worker thread?</p>
  
  <p>I was thinking of using simple socket communication, with something like this</p>
  
  <p>main thread:: send [(recv) socket (send) otherSocket];</p>
  
  <p>then have my threads simply block on the receive call, is this horribly inefficient? </p>
  
  <p>Is there a library I should use? Are there better implementation methods?</p>
  
  <p>(later I am going to make the threads dynamic, I just figured it would be easier to start with a set number)</p>