From 87f0e9b5f91407418a43a06f39831febfbd4e3ad Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 25 Jan 2008 19:25:46 +0000 Subject: disk-assisted queue mode finally begins to look good ;) --- wti.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wti.h') diff --git a/wti.h b/wti.h index db782d2b..8bd47d1d 100644 --- a/wti.h +++ b/wti.h @@ -35,7 +35,9 @@ typedef struct wti_s { obj_t *pUsrp; /* pointer to an object meaningful for current user pointer (e.g. queue pUsr data elemt) */ wtp_t *pWtp; /* my worker thread pool (important if only the work thread instance is passed! */ pthread_cond_t condInitDone; /* signaled when the thread startup is done (once per thread existance) */ + pthread_cond_t condExitDone; /* signaled when the thread exit is done (once per thread existance) */ pthread_mutex_t mut; + int bShutdownRqtd; /* shutdown for this thread requested? 0 - no , 1 - yes */ uchar *pszDbgHdr; /* header string for debug messages */ } wti_t; -- cgit v1.2.3