Expand description
A syslog instance which is shared between threads.
Structs§
- Sync
Syslog - A
sync, shared instance of the syslog client which is shared between many threads. Previously a mutex was used, but since the v5.0.0 a CoW experimental approach is used. TheCoWcreates clones of the instance without holding a long mutex locks. When writing, the instance does not hold a long lock on updated item. Only exclusive lock locks the readers, because the instance is updated and not usable anyway.