12 Commits

Author SHA1 Message Date
Rainer Gerhards
68efb41220 - some cleanup
- implemented management function for worker thread 0 in order to change
    queue workers dynamically -- stage work
2008-01-10 17:33:21 +00:00
Rainer Gerhards
28c44e9a7b - fixed a bug that caused a segfault on startup when no $WorkDir directive
was specified in rsyslog.conf
- fixed a bug that caused a segfault on queues with types other than "disk"
- removed the now longer needed thread TermSyncTool
2008-01-10 14:27:26 +00:00
Rainer Gerhards
29d9729292 moved queue code to its own module (finally) 2008-01-03 09:44:54 +00:00
Rainer Gerhards
2eb19201b3 - working on a potential race condition on the new input module interface.
See newsgroup posting for details on the issue:
    http://groups.google.com/group/comp.programming.threads/msg/330b9675f17
    a1ad6 I tried some mutex operations but came to the conclusion that
    this does not really help. So I have now switched to plain thread
    cancellation, which so far seems to be OK. Need more practical
    experience with other input modules to make a final decision. Thus I
    leave all code in and have just disabled the problematic code.
2007-12-20 08:54:51 +00:00
Rainer Gerhards
653ec62b23 - implemented afterRun input module interface function
- implemented $klogSymbolsTwice config directive
2007-12-17 14:34:22 +00:00
Rainer Gerhards
18dbfe70d8 moved thread termination code out to threads.c 2007-12-17 09:06:23 +00:00
Rainer Gerhards
b0ee8aac88 created thread-class internal wrapper for calling user supplied thread main
function
2007-12-17 07:46:30 +00:00
Rainer Gerhards
e45bbf5c66 graceful termination now supported 2007-12-14 17:58:12 +00:00
Rainer Gerhards
8d186b3036 first rough version of input module thread termination 2007-12-14 17:34:54 +00:00
Rainer Gerhards
3a209d5305 added thread activation 2007-12-14 17:15:35 +00:00
Rainer Gerhards
6c0c26dc96 on the way to a real input module interface and threading class... 2007-12-14 16:51:34 +00:00
Rainer Gerhards
0c5e8a2f96 moved core threading helpers out of syslogd.c 2007-12-14 11:55:35 +00:00