title: How to use PHP // Thread // Mutex // Cond
body: <p>PHP apparently supports now a <a href="http://www.php.net/manual/en/class.thread.php" rel="noreferrer">Thread</a> class. There is also a <a href="http://www.php.net/manual/en/class.mutex.php" rel="noreferrer">Mutex</a> and <a href="http://www.php.net/manual/en/class.cond.php" rel="noreferrer">Cond</a> class. One need nevertheless to compile it with the good options and add a PECL extension to have it.</p>
  
  <p>Is there a good tutorial where to start ? Something that shows clearly the fair use of each Class / Method.</p>
  
  <p>I just don't know how to deal with these classes. I would need some concrete examples of doing very simple things that exhibits as many methods as possible.</p>
  
  <p>Thank you.</p>