From: Florian Forster Date: Sat, 6 Nov 2010 08:00:00 +0000 (+0100) Subject: amqp plugin: Document the lock required to hold when calling "camqp_write_locked". X-Git-Tag: collectd-5.0.0-beta0~28^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=144b79a116c4d71e6172caad176db6f014c9b7fd;p=collectd.git amqp plugin: Document the lock required to hold when calling "camqp_write_locked". --- diff --git a/src/amqp.c b/src/amqp.c index c301dca8..f0abd44b 100644 --- a/src/amqp.c +++ b/src/amqp.c @@ -625,6 +625,7 @@ static int camqp_subscribe_init (camqp_config_t *conf) /* {{{ */ /* * Publishing code */ +/* XXX: You must hold "conf->lock" when calling this function! */ static int camqp_write_locked (camqp_config_t *conf, /* {{{ */ const char *buffer, const char *routing_key) {