[tor-bugs] #23579 [Core Tor/Tor]: sched: Add accessors for channel_pending list

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 5 14:52:07 UTC 2017


#23579: sched: Add accessors for channel_pending list
---------------------------------------+-----------------------------------
 Reporter:  dgoulet                    |          Owner:  dgoulet
     Type:  enhancement                |         Status:  accepted
 Priority:  Medium                     |      Milestone:  Tor:
                                       |  0.3.3.x-final
Component:  Core Tor/Tor               |        Version:
 Severity:  Normal                     |     Resolution:
 Keywords:  refactor, easy, tor-sched  |  Actual Points:
Parent ID:  #23993                     |         Points:
 Reviewer:                             |        Sponsor:  SponsorV
---------------------------------------+-----------------------------------

Comment (by dgoulet):

 Replying to [comment:5 asn]:
 > Can't find this channel_pending_list thing on latest master. Where is
 it? :)

 hehe... it is `STATIC smartlist_t *channels_pending = NULL;` in
 `scheduler.c` :).

 The different type of scheduler poke at it using `get_channels_pending()`
 which is not that ideal.

 `scheduler_kist.c` and `scheduler_vanilla.c` are the one doing that.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23579#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list