summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2015-02-09 16:11:45 +0100
committerSebastian Hahn <sebastian@torproject.org>2015-02-09 16:13:08 +0100
commit9667b2b88a1f8e9af08704c8bc95b8399a6e4145 (patch)
treedddb2ea5b9edce1494afa624be09da5ee11fb1c8 /src/or/or.h
parent733751009058a8ff140c15ddd8b022da6a77afdd (diff)
downloadtor-9667b2b88a1f8e9af08704c8bc95b8399a6e4145.tar.gz
tor-9667b2b88a1f8e9af08704c8bc95b8399a6e4145.zip
Add some comments to or_circuit_t.workqueue_entry
These were suggested by dgoulet, thanks!
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 520b7dba89..5d70798d8e 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3126,7 +3126,8 @@ typedef struct or_circuit_t {
* chance to give an onionskin to a cpuworker. Used only in onion.c */
struct onion_queue_t *onionqueue_entry;
/** Pointer to a workqueue entry, if this circuit has given an onionskin to
- * a cpuworker and is waiting for a response. Used only in cpuworker.c */
+ * a cpuworker and is waiting for a response. Used to decide whether it is
+ * safe to free a circuit or if it is still in use by a cpuworker. */
struct workqueue_entry_s *workqueue_entry;
/** The circuit_id used in the previous (backward) hop of this circuit. */