aboutsummaryrefslogtreecommitdiff
path: root/src/core/mainloop
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-03-14 15:35:41 -0400
committerNick Mathewson <nickm@torproject.org>2019-03-25 16:35:34 -0400
commit28fd4996aca0c560d4af0c035b53323951c13476 (patch)
treea1011d8358e512555519eded3275ded9c899abff /src/core/mainloop
parenta8ca464cee14ad8d0782f626c7f36216dba2e400 (diff)
downloadtor-28fd4996aca0c560d4af0c035b53323951c13476.tar.gz
tor-28fd4996aca0c560d4af0c035b53323951c13476.zip
Various documentation notes and tweaks for pubsub
Diffstat (limited to 'src/core/mainloop')
-rw-r--r--src/core/mainloop/mainloop_pubsub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/mainloop/mainloop_pubsub.c b/src/core/mainloop/mainloop_pubsub.c
index aac607126d..724a3115c8 100644
--- a/src/core/mainloop/mainloop_pubsub.c
+++ b/src/core/mainloop/mainloop_pubsub.c
@@ -123,6 +123,9 @@ alertfn_immediate(dispatch_t *d, channel_id_t chan, void *arg)
/**
* Set the strategy to be used for delivering messages on the named channel.
+ *
+ * This function needs to be called once globally for each channel, to
+ * set up how messages are delivered.
**/
int
tor_mainloop_set_delivery_strategy(const char *msg_channel_name,