title: HHVM: pthreads PHP classes
body: <p>The installation of pthreads in PHP (for the use of Threaded, Thread, Worker, Pool, etc) is quite "complex" and that's not very pratical when you use packages of your Linux ditribution that doesn't have ZTS enabled (you have to download PHP sources and compile them — auxiliary question : why ZTS isn't activated by default?).</p>
  
  <p>Few days ago I tested HHVM for the first time and the performance is just... impressive. I'm writing a kind of server in PHP and I need threads. I thought that HHVM support them natively. That's not the case (unknown class).</p>
  
  <p>I can find documentation on pthreads on HHVM documentation, but that's the official PHP docs.
  I read somewhere on the Internet that HHVM doesn't support Threads.</p>
  
  <p>So... if threads are supported in HHVM, how to install pthreads on HHVM? What about ZTS?</p>