projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
amqp plugin: Document the lock required to hold when calling "camqp_write_locked".
[collectd.git]
/
src
/
amqp.c
diff --git
a/src/amqp.c
b/src/amqp.c
index
c301dca
..
f0abd44
100644
(file)
--- 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)
{