![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4mm_p.h>
Public Member Functions | |
Q_NODISCARD_CTOR | GCCriticalSection (QV4::ExecutionEngine *engine, ToBeMarked *toBeMarked=nullptr) |
~GCCriticalSection () |
GCCriticalSection prevets the gc from running, until it is destructed. In its dtor, it runs a check whether we've reached the unmanaegd heap limit, and triggers a gc run if necessary. Lastly, it can optionally mark an object passed to it before runnig the gc.
|
inline |
|
inline |