Collectable::setGarbage

(PECL pthreads < 3.0.0)

Collectable::setGarbageMark an object as garbage

Warning

This method has been removed in pthreads v3.

说明

public Collectable::setGarbage ( void ) : void

Should be called once per object when the object is finished being executed or referenced.

参见