Commits on Source (8)
-
Rémi Denis-Courmont authored
See built-in Doxygen for details.
e2649592 -
Rémi Denis-Courmont authorede8700cbd
-
Rémi Denis-Courmont authored
...instead of read-write lock. This provides for lock-free wait-free log output, which is orders of magnitude more frequent than switching log backend.
fc91bb73 -
Rémi Denis-Courmont authored
This factors the common code to set a string variable value. This also makes the handling of the empty string consistent across all paths.
6911b612 -
Rémi Denis-Courmont authored
No functional changes.
51366d08 -
Rémi Denis-Courmont authored
This makes config_GetStr() lock-less.
05d1bc33 -
Rémi Denis-Courmont authoredf57ddf14
-
Rémi Denis-Courmont authored
The lock is no longer taken for reading ever, so it is equivalent to a mutex. In fact, the lock is only needed to prevent concurrent writes to the same config_item_t::value.
dbbe239f
Showing
- src/Makefile.am 2 additions, 0 deletionssrc/Makefile.am
- src/config/configuration.h 4 additions, 1 deletionsrc/config/configuration.h
- src/config/core.c 47 additions, 50 deletionssrc/config/core.c
- src/config/file.c 19 additions, 23 deletionssrc/config/file.c
- src/misc/messages.c 11 additions, 15 deletionssrc/misc/messages.c
- src/misc/rcu.c 119 additions, 0 deletionssrc/misc/rcu.c
- src/misc/rcu.h 116 additions, 0 deletionssrc/misc/rcu.h
- src/modules/cache.c 2 additions, 1 deletionsrc/modules/cache.c
- src/modules/entry.c 3 additions, 1 deletionsrc/modules/entry.c
src/misc/rcu.c
0 → 100644
src/misc/rcu.h
0 → 100644