title: Node.js C++ Addon: Threading
body: <p>I'm writing a GUI addon for Node.js (wxWidgets) and I want to run the GUI loop in an own thread as I don't think it would be a good idea to merge it with Node's main thread and event loop.</p>
  
  <p>However I'm not sure how to create a new thread. I got it running with <code>uv_queue_work()</code>. But it will not create an exclusive thread for the GUI but use Node's thread pool. And this might be a bad idea since the worker will stay during the whole runtime. (Not sure about this)</p>
  
  <p>I could also use wxWidgets' <code>wxThread</code>, works, too. And I found a new function <code>uv_thread_create</code> in libuv git master. No idea how to use that as there is no description and besides it is not yet available in Node.js stable build.</p>
  
  <p>My question: What is the "standard" way to create a multi-threaded Node.js Addon, if any? I looked at other projects but could only find short-running worker threads using libuv.</p>