Module syslog_sync_shared

Module syslog_sync_shared 

Source
Expand description

A syslog instance which is shared between threads.

Structs§

SyncSyslog
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. The CoW creates 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.

Type Aliases§

DefaultLocalSyslogDestination