Thread::lock Synchronization &reftitle.description; final public booleanThread::lock Lock the referenced objects storage for the calling context &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; A boolean indication of success &reftitle.examples; Locking Thread Storage lock()); /** nobody can read or write **/ var_dump($this->unlock()); /** reading / writing resumed for all other contexts */ } } $my = new My(); $my->start(); ?> ]]> &example.outputs;