Pool::submit

Pool::submit

(PECL pthreads >= 2.0.0)

Pool::submitSubmits an object for execution

Description

public int Pool::submit ( Threaded $task )

Submit the task to the next Worker in the Pool

Parameters

size

The task for execution

Return Values

the identifier of the Worker executing the object