summaryrefslogtreecommitdiffstats
path: root/threads.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-02-02 15:51:01 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-02-02 15:51:01 +0100
commit38cb3926727c0ad29f3950db43ba12248e867b89 (patch)
tree5062cb4f81766ab983971126974a914e3fb4f360 /threads.h
parentacda58b561b92d21df685d03cc703b5792d9d72b (diff)
downloadrsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.gz
rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.xz
rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.zip
replaced data type "bool" by "sbool" because this created some portability issues
Diffstat (limited to 'threads.h')
-rw-r--r--threads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/threads.h b/threads.h
index 1cac02b5..75ba2fcf 100644
--- a/threads.h
+++ b/threads.h
@@ -32,7 +32,7 @@ struct thrdInfo {
rsRetVal (*pUsrThrdMain)(struct thrdInfo*); /* user thread main to be called in new thread */
rsRetVal (*pAfterRun)(struct thrdInfo*); /* cleanup function */
pthread_t thrdID;
- bool bNeedsCancel; /* must input be terminated by pthread_cancel()? */
+ sbool bNeedsCancel; /* must input be terminated by pthread_cancel()? */
};
/* prototypes */
@@ -40,7 +40,7 @@ rsRetVal thrdExit(void);
rsRetVal thrdInit(void);
rsRetVal thrdTerminate(thrdInfo_t *pThis);
rsRetVal thrdTerminateAll(void);
-rsRetVal thrdCreate(rsRetVal (*thrdMain)(thrdInfo_t*), rsRetVal(*afterRun)(thrdInfo_t *), bool);
+rsRetVal thrdCreate(rsRetVal (*thrdMain)(thrdInfo_t*), rsRetVal(*afterRun)(thrdInfo_t *), sbool);
/* macros (replace inline functions) */