amqp plugin: Document the lock required to hold when calling "camqp_write_locked".
[collectd.git] / src / amqp.c
index c301dca..f0abd44 100644 (file)
@@ -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)
 {