diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-07-24 07:24:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-07-24 12:34:28 +0200 |
commit | 8b18fdc19531ba56d0bdfe34c62870997a9bcc96 (patch) | |
tree | 168eab9fb86650bb78d0bda563f3f362b7b66b0c /src/shared/sleep-config.c | |
parent | 41f1a1da57a0cef035d1f78c21bcff3dc3f76f79 (diff) |
core: synchronously block when logging
Previously, the logging sockets were asynchronous and if clogged we'd
lose messages. We did this to be extra careful given that PID 1 might
need to spawn the logging daemon as response to PID 1's own log messages
and we really should avoid a deadlock in that case.
As it turns out this causes loss of too many messages, hence make the
socket blocking again, however put a time limit on it to avoid unbounded
deadlocks in the unlikely case they happen.
https://bugs.freedesktop.org/show_bug.cgi?id=66664
Diffstat (limited to 'src/shared/sleep-config.c')
0 files changed, 0 insertions, 0 deletions