The Collectable interface
(PECL pthreads >= 2.0.8)
简介
Caution
Collectable was previously a class (in pthreads v2 and below). Now, it is an interface in pthreads v3 that is implemented by the Threaded class.
Represents a garbage-collectable object.
接口摘要
Table of Contents
- Collectable::isGarbage — Determine whether an object has been marked as garbage
- Collectable::setGarbage — Mark an object as garbage