Thread API Reference

 These functions handle String variables in SQL Timestamp format.

If you want to implement symultaneous execution, please take a look at Parallel execution.


 Get current thread id.

execute($execFunctionName, $execParam)

 Execute function with new thread. The specified function should have a dom variable. The $execParam is to be set into the variable.
for example
function threadFunc($execParam){.....}


 Join thread with parent. The parent thread wait for the child thread identified by $threadId.


 The current thread calling this function sleeps for $milliScecond.

Go to Top