summaryrefslogtreecommitdiffstats
path: root/runtime/wti.c
Commit message (Collapse)AuthorAgeFilesLines
* calls to prctl() need to be based on configure results (cross-platform issue)Rainer Gerhards2009-07-161-1/+0
| | | | | This is for another prctl() call, not present in the beta version (looks like it would make sense to stick these into a utility function)
* improvements/fixes in queue termination timeout handlingRainer Gerhards2009-06-251-2/+4
| | | | | | | | - bugfix: subtle (and usually irrelevant) issue in timout processing timeout could be one second too early if nanoseconds wrapped - set a more sensible timeout for shutdow, now 1.5 seconds to complete processing (this also removes those cases where the shutdown message was not written because the termination happened before it)
* some memory accesses are now explicitely atomicRainer Gerhards2009-06-251-9/+17
| | | | | ... as far as I think this mostly is to keep the thread debuggers happy
* removed pthread_testcancel() as it is no longer necessaryRainer Gerhards2009-06-191-22/+0
| | | | | | | we usually stay long enough inside the actions, so there should be no problem with reaching a cancellation point. Actually, if we really need to cancel, the thread is in an output action (otherwise it would have willingly terminated).
* removed uniprocessor optimizationRainer Gerhards2009-06-191-5/+0
| | | | | | ... as it was not even optimal on uniprocessors any longer ;) I keep the config directive in, maybe we can utilize it again at some later point in time (questionable).
* fixed a small memory leak...Rainer Gerhards2009-06-101-2/+1
| | | | and another problem, both introduced today. Also did some general cleanup.
* Merge branch 'dapatch'Rainer Gerhards2009-03-251-3/+7
|\
| * bugfix: potential abort with DA queue after high watermark is reachedRainer Gerhards2009-03-251-3/+7
| | | | | | | | | | | | There exists a race condition that can lead to a segfault. Thanks go to vbernetr, who performed the analysis and provided patch, which I only tweaked a very little bit.
* | integrated various patches for solarisRainer Gerhards2009-03-051-0/+5
| | | | | | | | | | | | | | | | | | Unfortunatley, I do not have the full list of contributors available. The patch set was compiled by Ben Taylor, and I made some further changes to adopt it to the news rsyslog branch. Others provided much of the base work, but I can not find the names of the original authors. If you happen to be one of them, please let me know so that I can give proper credits.
* | added a setting "$OptimizeForUniprocessor"Rainer Gerhards2008-10-221-1/+14
| | | | | | | | | | | | ...to enable users to turn off pthread_yield calls which are counter-productive on multiprocessor machines (but have been shown to be useful on uniprocessors)
* | reordered imudp processing.Rainer Gerhards2008-10-081-3/+3
| | | | | | | | | | | | Message parsing is now done as part of main message queue worker processing (was part of the input thread) This should also improve performance, as potentially more work is done in parallel.
* | improved threadingRainer Gerhards2008-09-301-5/+4
|/ | | | | | | | - changed sequence when awakening thread - removed no longer needed condition variable - EXPERIMENTALLY added mutex guarding to hostname lookups this is to be removed if it does not have any verifyable useful effect
* reduced number of compile warnings in -pedantic gcc modeRainer Gerhards2008-06-271-1/+1
|
* disabled compile warnings caused by third-party librariesRainer Gerhards2008-06-231-0/+2
|
* completed better modularity of runtimeRainer Gerhards2008-04-171-1/+0
| | | | | | | | | | - added the ability to specify an error log function for the runtime - removed dependency of core runtime on dirty.h Note that it is "better" modularity, not perfect. There is still work to do, but I think we can for the time being proceed with other things.
* some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* moved runtime files into their own directoryRainer Gerhards2008-04-161-0/+480