diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-08 18:12:05 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-08 18:12:05 +0200 |
commit | 4cfbc7254a49503a3c980a1b20264915d6b3b807 (patch) | |
tree | 29c6fb1789588760b8c68b48ba2617b90262ac52 /runtime/wti.h | |
parent | 9f286c0c4c21128c66305166ae379d3f7b07f673 (diff) | |
download | rsyslog-4cfbc7254a49503a3c980a1b20264915d6b3b807.tar.gz rsyslog-4cfbc7254a49503a3c980a1b20264915d6b3b807.tar.xz rsyslog-4cfbc7254a49503a3c980a1b20264915d6b3b807.zip |
simplified worker thread handling
based on now working with detached threads. This is probably the biggest
patch in this series and with large bug potential.
Diffstat (limited to 'runtime/wti.h')
-rw-r--r-- | runtime/wti.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/wti.h b/runtime/wti.h index 2acd3cf6..5b7e5baf 100644 --- a/runtime/wti.h +++ b/runtime/wti.h @@ -36,7 +36,7 @@ struct wti_s { pthread_t thrdID; /* thread ID */ qWrkCmd_t tCurrCmd; /* current command to be carried out by worker */ wtp_t *pWtp; /* my worker thread pool (important if only the work thread instance is passed! */ - pthread_cond_t condExitDone; /* signaled when the thread exit 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; batch_t batch; /* pointer to an object array meaningful for current user pointer (e.g. queue pUsr data elemt) */ bool bShutdownRqtd; /* shutdown for this thread requested? 0 - no , 1 - yes */ |