diff options
author | Andrea Shepard <andrea@torproject.org> | 2013-12-12 04:22:53 -0800 |
---|---|---|
committer | Andrea Shepard <andrea@torproject.org> | 2014-09-30 22:49:56 -0700 |
commit | ed1927d6bf8b9d60d40f6fbc20f9e1575a35e59d (patch) | |
tree | 55c8909471a659eff05fddcbfab76c50632206d2 /src/or/channel.h | |
parent | 3530825c53b7a28cf894b64e6d97aa90d0acccae (diff) | |
download | tor-ed1927d6bf8b9d60d40f6fbc20f9e1575a35e59d.tar.gz tor-ed1927d6bf8b9d60d40f6fbc20f9e1575a35e59d.zip |
Use a non-stupid data structure in the scheduler
Diffstat (limited to 'src/or/channel.h')
-rw-r--r-- | src/or/channel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/channel.h b/src/or/channel.h index ced717a531..023c39d0dd 100644 --- a/src/or/channel.h +++ b/src/or/channel.h @@ -80,6 +80,9 @@ struct channel_s { SCHED_CHAN_PENDING } scheduler_state; + /** Heap index for use by the scheduler */ + int sched_heap_idx; + /** Timestamps for both cell channels and listeners */ time_t timestamp_created; /* Channel created */ time_t timestamp_active; /* Any activity */ |