<?php
$pool = new Phalcon\Thread\Pool(2);
$pool->add(function(){ echo 'Hello world!';});
public __construct ([int $num])
Phalcon\Thread\Pool constructor
public int getNumThreads ()
public boolean inc (int $num)
public boolean dec (int $num)
public add (unknown $work, [array $args])
public wait ()
public destroy ()