summaryrefslogtreecommitdiffstats
path: root/runtime/nsdpoll_ptcp.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-01-31 13:13:00 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-01-31 13:13:00 +0100
commit48ab717fedba586be5054320e32afc84afee9f52 (patch)
treeffd44239cfd9c51ef24a1fc4b3deab271ae73e4c /runtime/nsdpoll_ptcp.h
parenta4a94ddfc0dc2256d7a3bc79ed8f9489de9f0f9b (diff)
downloadrsyslog-48ab717fedba586be5054320e32afc84afee9f52.tar.gz
rsyslog-48ab717fedba586be5054320e32afc84afee9f52.tar.xz
rsyslog-48ab717fedba586be5054320e32afc84afee9f52.zip
fixing regression: multi-threading had races
Diffstat (limited to 'runtime/nsdpoll_ptcp.h')
-rw-r--r--runtime/nsdpoll_ptcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/nsdpoll_ptcp.h b/runtime/nsdpoll_ptcp.h
index cea2823d..dfefad1b 100644
--- a/runtime/nsdpoll_ptcp.h
+++ b/runtime/nsdpoll_ptcp.h
@@ -49,6 +49,7 @@ struct nsdpoll_ptcp_s {
BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */
int efd; /* file descriptor used by epoll */
nsdpoll_epollevt_lst_t *pRoot; /* Root of the epoll event list */
+ pthread_mutex_t mutEvtLst;
};
/* interface is defined in nsd.h, we just implement it! */