The Collectable class
(PECL pthreads >= 2.0.8)
Einführung
Represents a garbage-collectable object.
Collectable objects are intended to be used by the Pool class, replacing Threaded objects as the unit of work. They provide methods to set and detect the collectability of an object.
Klassenbeschreibung
Inhaltsverzeichnis
- Collectable::isGarbage — Determine whether an object has been marked as garbage
- Collectable::setGarbage — Mark an object as garbage