summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp
index ecb94052..4fb4a6c9 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/xsldbgthread.cpp
@@ -25,8 +25,8 @@
#include "xsldbgthread.h"
static void (*cleanupFuncPtr)(void) = 0;
-static int threadStatus = XSLDBG_MSG_THREAD_NOTUSED;
-static int inputStatus = XSLDBG_MSG_AWAITING_INPUT;
+static int threadtqStatus = XSLDBG_MSG_THREAD_NOTUSED;
+static int inputtqStatus = XSLDBG_MSG_AWAITING_INPUT;
/* is xsldbg ready for input from the application */
static int inputReady = 0;
@@ -53,19 +53,19 @@ setAppReady(int ready)
/* the compiler will optimize this function to inline and to keep variable private*/
int
-getInputStatus(void)
+getInputtqStatus(void)
{
- return inputStatus;
+ return inputtqStatus;
}
void
-setInputStatus(XsldbgMessageEnum type)
+setInputtqStatus(XsldbgMessageEnum type)
{
switch (type) {
case XSLDBG_MSG_AWAITING_INPUT: /* Waiting for user input */
case XSLDBG_MSG_READ_INPUT: /* Read user input */
case XSLDBG_MSG_PROCESSING_INPUT: /* Processing user's request */
- inputStatus = type;
+ inputtqStatus = type;
break;
default:
@@ -76,26 +76,26 @@ setInputStatus(XsldbgMessageEnum type)
/* the compiler will optimize this function to inline and to keep variable private*/
int
-getThreadStatus(void)
+getThreadtqStatus(void)
{
- return threadStatus;
+ return threadtqStatus;
}
/* reset the status to @p type */
void
-setThreadStatus(XsldbgMessageEnum type)
+setThreadtqStatus(XsldbgMessageEnum type)
{
switch (type) {
case XSLDBG_MSG_THREAD_NOTUSED:
case XSLDBG_MSG_THREAD_INIT:
case XSLDBG_MSG_THREAD_RUN:
- threadStatus = type;
+ threadtqStatus = type;
break;
case XSLDBG_MSG_THREAD_STOP:
case XSLDBG_MSG_THREAD_DEAD:
- xslDebugStatus = DEBUG_QUIT;
- threadStatus = type;
+ xslDebugStatus = DEBUG_TQUIT;
+ threadtqStatus = type;
break;
default: