Collectable::isGarbage

(PECL pthreads >= 2.0.8)

Collectable::isGarbageDetermine whether an object has been marked as garbage

說(shuō)明

public Collectable::isGarbage(): bool

Can be called in Pool::collect() to determine if this object is garbage.

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

總是返回 true 。

參見(jiàn)