summaryrefslogtreecommitdiffstats
path: root/runtime/atomic.h
Commit message (Collapse)AuthorAgeFilesLines
* backported "clean" increment of memory trim counter (not protected by mutex)Rainer Gerhards2009-06-251-0/+1
|
* some memory accesses are now explicitely atomicRainer Gerhards2009-06-251-0/+5
| | | | | ... as far as I think this mostly is to keep the thread debuggers happy
* Merge branch 'beta'Rainer Gerhards2009-01-301-0/+7
|\
| * added info if atomic ops are available to rsyslogd -v outputRainer Gerhards2009-01-301-0/+7
| |
| * bugfix: inconsistent use of mutex/atomic operations could cause segfaultRainer Gerhards2009-01-301-1/+1
| | | | | | | | | | details are too many, for full analysis see blog post at: http://blog.gerhards.net/2009/01/rsyslog-data-race-analysis.html
* | fixed atomic operationsRainer Gerhards2009-01-291-1/+1
| |
* | moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-091-0/+2
|/ | | | | | This enables us to use more efficient calling conventions and also helps us keep the on-disk structure of a msg object more consistent in future releases.
* bugfix: proper synchronization on message destructionRainer Gerhards2008-09-191-0/+1
| | | | | The code was potentially race, at least on systems where a memory barrier was needed. Fix not fully tested yet.
* bugfix: potential race condition when adding messages to queueRainer Gerhards2008-09-181-2/+6
| | | | | | | There was a wrong order of mutex lock operations. It is hard to believe that really caused problems, but in theory it could and with threading we often see that theory becomes practice if something is only used long enough on a fast enough machine with enough CPUs ;)
* re-enabled gcc builtin atomic operations and added a proper ./configure checkRainer Gerhards2008-09-181-9/+9
|
* moved files to the runtimeRainer Gerhards2008-04-161-0/+51
there are still some files left which could go into the runtime, but I think we will delete most of them once we are done with the full modularization.