Improved threading and resource usage, new defaults

This commit is contained in:
Shoghi Cervantes
2015-01-02 18:46:39 +01:00
parent 47cbf56725
commit 692045d714
10 changed files with 163 additions and 68 deletions

View File

@ -34,7 +34,7 @@ class CommandReader extends Thread{
*/
public function __construct(\Threaded $threaded){
$this->buffer = $threaded;
$this->start();
$this->start(PTHREADS_INHERIT_NONE);
}
private function readLine(){