diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-31 09:07:24 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-31 09:07:24 +0000 |
commit | 26aa8b09dbc2de1c7bdd97921a273511d585e043 (patch) | |
tree | efb400bafcf30f832e1418d3a8e448b01d7d1293 /debug.c | |
parent | eddf674157b304f167d965ccff80ec223b7f9ab1 (diff) | |
download | rsyslog-26aa8b09dbc2de1c7bdd97921a273511d585e043.tar.gz rsyslog-26aa8b09dbc2de1c7bdd97921a273511d585e043.tar.xz rsyslog-26aa8b09dbc2de1c7bdd97921a273511d585e043.zip |
worked a bit on atomic memory operations to support problem-free threading
(only at non-intrusive places)
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -660,7 +660,9 @@ static void dbgCallStackDestruct(void *arg) free(pThrd->pszThrdName); } + pthread_mutex_lock(&mutCallStack); DLL_Del(CallStack, pThrd); + pthread_mutex_unlock(&mutCallStack); } |