Huggle
build:^490^dce1e5c
|
Garbage collector that can be used to collect some objects. More...
#include <gc.hpp>
Static Public Member Functions | |
static void | DeleteOld () |
Function that walks through the list and delete these that can be deleted. | |
Static Public Attributes | |
static QList< Collectable * > | list |
List of all managed queries that qgc keeps track of. | |
static QMutex | Lock |
QMutex that is used to lock the GC::list object. More... | |
Garbage collector that can be used to collect some objects.
Every object must be derived from Collectable, otherwise it must not be handled by garbage collector
|
static |
QMutex that is used to lock the GC::list object.
This lock needs to be aquired every time when you need to access this list from any thread during runtime
Definition at line 47 of file gc.hpp.
Referenced by DeleteOld(), and Huggle::Collectable::SafeDelete().