projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d820ed4
)
amqp plugin: Document the lock required to hold when calling "camqp_write_locked".
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 6 Nov 2010 08:00:00 +0000
(09:00 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 6 Nov 2010 08:00:00 +0000
(09:00 +0100)
src/amqp.c
patch
|
blob
|
history
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)
{