summaryrefslogtreecommitdiffstats
path: root/threads.c
Commit message (Collapse)AuthorAgeFilesLines
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-4/+5
| | | | | | finally in a running state for regular (non disk-assisted) queues, with a minor nit at shutdown. So I can finally commit the work again to CVS...
* - some cleanupRainer Gerhards2008-01-101-8/+0
| | | | | - implemented management function for worker thread 0 in order to change queue workers dynamically -- stage work
* - fixed a bug that caused a segfault on startup when no $WorkDir directivev3-10-1aRainer Gerhards2008-01-101-20/+5
| | | | | | 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
* moved queue code to its own module (finally)Rainer Gerhards2008-01-031-88/+0
|
* some cleanupRainer Gerhards2007-12-271-1/+0
|
* moved udp net code - again, stage workRainer Gerhards2007-12-251-0/+2
|
* removed code no longer neededRainer Gerhards2007-12-211-1/+1
|
* fixed race conditionRainer Gerhards2007-12-201-0/+1
|
* - working on a potential race condition on the new input module interface.Rainer Gerhards2007-12-201-6/+27
| | | | | | | | | | 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.
* - implemented afterRun input module interface functionRainer Gerhards2007-12-171-3/+6
| | | | - implemented $klogSymbolsTwice config directive
* moved thread termination code out to threads.cRainer Gerhards2007-12-171-4/+42
|
* created thread-class internal wrapper for calling user supplied thread mainRainer Gerhards2007-12-171-4/+23
| | | | function
* graceful termination now supportedRainer Gerhards2007-12-141-1/+19
|
* first rough version of input module thread terminationRainer Gerhards2007-12-141-0/+14
|
* added thread activationRainer Gerhards2007-12-141-0/+20
|
* on the way to a real input module interface and threading class...Rainer Gerhards2007-12-141-1/+95
|
* moved core threading helpers out of syslogd.cRainer Gerhards2007-12-141-0/+123