Qore Programming Language
0.9.4.6
|
allows for the parse lock for the current program to be acquired by binary modules More...
#include <QoreProgram.h>
Public Member Methods | |
DLLEXPORT | CurrentProgramRuntimeExternalParseContextHelper () |
acquires the parse lock; if already acquired by another thread, then this call blocks until the lock can be acquired | |
DLLEXPORT | ~CurrentProgramRuntimeExternalParseContextHelper () |
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