Cml\Vendor\PhpThread::__construct PHP Method

__construct() public method

构造函数
public __construct ( integer $max = 10, boolean $saveSuccess = false, integer $readDataLen = 1024, integer $timeout = 3 )
$max integer 最大线程数
$saveSuccess boolean 是否保存成功的信息
$readDataLen integer 读取的字节数
$timeout integer 等待超时时间
    public function __construct($max = 10, $saveSuccess = false, $readDataLen = 1024, $timeout = 3)
    {
        $this->max = $max;
        $this->saveSuccess = $saveSuccess;
        $this->readDataLen = $readDataLen;
        $this->timeout = $timeout;
    }