aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-27 11:14:37 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-27 11:14:37 -0400
commit0a10335d2e23e43de401cf955c8f188ce19106a6 (patch)
tree4a78187745a81e489474f6b8208c25a6ec0ab8a1 /src
parent30a681553f2ecc7747236085dd3331e9875651d5 (diff)
downloadtor-0a10335d2e23e43de401cf955c8f188ce19106a6.tar.gz
tor-0a10335d2e23e43de401cf955c8f188ce19106a6.zip
Clarify doc on tell_event_loop_to_run_external_code()
Diffstat (limited to 'src')
-rw-r--r--src/or/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 5510df253a..a615a6be00 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -648,7 +648,8 @@ connection_should_read_from_linked_conn(connection_t *conn)
/** If we called event_base_loop() and told it to never stop until it
* runs out of events, now we've changed our mind: tell it we want it to
- * finish. */
+ * exit once the current round of callbacks is done, so that we can
+ * run external code, and then return to the main loop. */
void
tell_event_loop_to_run_external_code(void)
{