From e45bbf5c66b5cb08c91bdb99ba1acf5f215c3112 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 14 Dec 2007 17:58:12 +0000 Subject: graceful termination now supported --- threads.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'threads.h') diff --git a/threads.h b/threads.h index 08b8481a..1075ec7f 100644 --- a/threads.h +++ b/threads.h @@ -49,9 +49,11 @@ typedef struct { } msgQueue; /* prototypes */ +rsRetVal thrdExit(void); +rsRetVal thrdInit(void); rsRetVal thrdTerminate(thrdInfo_t *pThis); rsRetVal thrdTerminateAll(void); -rsRetVal thrdCreate(void* (*thrdMain)(void*)); +rsRetVal thrdCreate(void* (*thrdMain)(void*), eTermSyncType_t eTermSyncType); msgQueue *queueInit (void); void queueDelete (msgQueue *q); void queueAdd (msgQueue *q, void* in); -- cgit