diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-10-08 10:45:05 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-10-08 10:45:05 +0000 |
commit | d5feea59255ac45328de6ec8e9478fc1b12b4145 (patch) | |
tree | 7297d9cfca9a06e9c4699fb6e55886ea33b31d64 /net.c | |
parent | 3855edc9281f798f29f5f445dbdd08b147988170 (diff) | |
download | rsyslog-d5feea59255ac45328de6ec8e9478fc1b12b4145.tar.gz rsyslog-d5feea59255ac45328de6ec8e9478fc1b12b4145.tar.xz rsyslog-d5feea59255ac45328de6ec8e9478fc1b12b4145.zip |
changed the threading to include one extra thread that runs the mainloop.
This was done to work around a problem with malloc/free. Note that we
are still running on two threads - the startup thread just waits for
the new one to finish. For a description of the problem I try to
work-around, please see:
http://rgerhards.blogspot.com/2007/10/could-i-really-reproduce-bug.html
Note that this is an experimental change, which will only stay if it
proves to fix the segfault issue we are dealing with.
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -190,7 +190,6 @@ rsRetVal gethname(struct sockaddr_storage *f, uchar *pszHostFQDN) } finalize_it: -dbgprintf("hname() iRet: %d\n", iRet); return iRet; } @@ -281,7 +280,6 @@ rsRetVal cvthname(struct sockaddr_storage *f, uchar *pszHost, uchar *pszHostFQDN } finalize_it: -dbgprintf("cvthname() iRet: %d\n", iRet); return iRet; } |