32 #ifndef _QORE_THREADEXITSTATEMENT_H
34 #define _QORE_THREADEXITSTATEMENT_H
36 #include "qore/intern/AbstractStatement.h"
38 class ThreadExitStatement :
public AbstractStatement {
45 DLLLOCAL
virtual int parseInitImpl(QoreParseContext& parse_context0) {
50 DLLLOCAL ThreadExitStatement(
const QoreProgramLocation* loc) : AbstractStatement(loc) {
52 DLLLOCAL
virtual ~ThreadExitStatement() {
54 DLLLOCAL
virtual bool endsBlock()
const {
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
DLLEXPORT void raiseThreadExit()
sets the "thread_exit" flag; will cause the current thread to terminate
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275