|
Qore Programming Language
0.9.16
|
32 #ifndef _QORE_INTERN_ABSTRACTTHREADRESOURCE_H
34 #define _QORE_INTERN_ABSTRACTTHREADRESOURCE_H
36 #include <qore/AbstractThreadResource.h>
39 DLLLOCAL
extern QoreClass* QC_ABSTRACTTHREADRESOURCE;
DLLEXPORT void clear()
deletes the exception list immediately
virtual DLLLOCAL QoreProgram * getProgram()
this function is called when clearing thread resources for a particular Program when being destroyed
Definition: QC_AbstractThreadResource.h:67
supports parsing and executing Qore-language code, reference counted, dynamically-allocated only
Definition: QoreProgram.h:126
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:262
virtual DLLLOCAL void cleanup(ExceptionSink *xsink)
this function is called when a thread terminates and a thread resource is still allocated to the thre...
Definition: QC_AbstractThreadResource.h:56
this class is used by the AbstractThreadResource Qore class to execute the cleanup method
Definition: QC_AbstractThreadResource.h:43
defines a Qore-language class
Definition: QoreClass.h:239
DLLEXPORT QoreProgram * getProgram() const
returns the QoreProgram object associated with this object
contains constants, classes, and subnamespaces in QoreProgram objects
Definition: QoreNamespace.h:65
DLLEXPORT void discard(ExceptionSink *xsink)
dereferences any contained AbstractQoreNode pointer and sets to 0; does not modify other values
base class for saving data using Qore's thread resource management system
Definition: AbstractThreadResource.h:51
const qore_type_t NT_STRING
type value for QoreStringNode
Definition: node_types.h:45
the implementation of Qore's object data type, reference counted, dynamically-allocated only
Definition: QoreObject.h:61
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
unsigned qore_classid_t
used for the unique class ID for QoreClass objects
Definition: common.h:79
DLLEXPORT void tRef() const
increments the existence reference count
const DLLEXPORT QoreValue getExceptionErr()
returns the error of the top exception
Qore's string value type, reference counted, dynamically-allocated only.
Definition: QoreStringNode.h:50
DLLEXPORT QoreValue evalMethod(const QoreString *name, const QoreListNode *args, ExceptionSink *xsink)
evaluates the given method with the arguments passed and returns the return value,...
DLLEXPORT void tDeref()
decrements the existence reference count, when it reaches 0 the C++ object ("this") will be deleted