author | Sebastian Harl <sh@tokkee.org> | |
Fri, 17 Jun 2011 08:25:48 +0000 (10:25 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 17 Jun 2011 08:25:48 +0000 (10:25 +0200) | ||
commit | ccc69cc64e79170e09eb3eae9cb9d2d22c6f06e6 | |
tree | b12d4502136b18c66cfa5c59ae55346c3eefdfce | tree | snapshot |
parent | 887bc2aa36a2b48ab28b0b0138bd55411efe55e6 | commit | diff |
rrdcached plugin: Register write/flush only if DaemonAddress has been given.
Else, the write callback would remove itself on the first call. This
operation, however, is not thread-safe as access to the write list is not
synchronized. Thus, removing the callback at that point leads to random
segfaults.
Else, the write callback would remove itself on the first call. This
operation, however, is not thread-safe as access to the write list is not
synchronized. Thus, removing the callback at that point leads to random
segfaults.
src/rrdcached.c | diff | blob | history |