From 144b79a116c4d71e6172caad176db6f014c9b7fd Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 6 Nov 2010 09:00:00 +0100 Subject: [PATCH] amqp plugin: Document the lock required to hold when calling "camqp_write_locked". --- src/amqp.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.30.2