title: using libev with multiple threads
body: <p>I want to use libev with multiple threads for the handling of tcp connections. What I want to is:</p>
  
  <ol>
  <li><p>The main thread listen on incoming connections, accept the
  connections and forward the connection to a workerthread.</p></li>
  <li><p>I have a pool of workerthreads. The number of threads depends on the
  number of cpu's. Each worker-thread has an event loop. The worker-thread listen if I can write on the tcp socket or if
      somethings available for reading.</p></li>
  </ol>
  
  <p>I looked into the documentation of libev and I known this can be done with libev, but I can't find any example how I have to do that.<br>
  Does someone has an example?
  I think that I have to use the ev_loop_new() api, for the worker-threads and for the main thread I have to use the ev_default_loop() ? </p>
  
  <p>Regards</p>