Qore Programming Language 1.16.0
|
allows for the parse lock for the current program to be acquired by binary modules More...
#include <QoreProgram.h>
Public Member Methods | |
DLLEXPORT | ProgramRuntimeExternalParseContextHelper (QoreProgram *pgm) |
acquires the parse lock; if already acquired by another thread, then this call blocks until the lock can be acquired | |
DLLEXPORT | ~ProgramRuntimeExternalParseContextHelper () |
releases the parse lock for the current program | |
DLLEXPORT | operator bool () const |
returns true if the object is valid (lock acquired), false if not (program already deleted) | |
allows for the parse lock for the current program to be acquired by binary modules