[tor-bugs] #18363 [Tor]: Tor could use a publish/subscribe abstraction

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 29 14:31:53 UTC 2016


#18363: Tor could use a publish/subscribe abstraction
-------------------------------------------+-------------------------------
 Reporter:  nickm                          |          Owner:  nickm
     Type:  enhancement                    |         Status:  accepted
 Priority:  High                           |      Milestone:  Tor:
Component:  Tor                            |  0.2.9.x-final
 Severity:  Normal                         |        Version:
 Keywords:  modularity, TorCoreTeam201604  |     Resolution:
Parent ID:                                 |  Actual Points:
 Reviewer:                                 |         Points:  medium
                                           |        Sponsor:  SponsorS-can
-------------------------------------------+-------------------------------

Comment (by nickm):

 The branch 'pubsub' in my repository has a generic implementation that
 could easily become more complex as needed down the road.

 The unit tests need a little more work; right now, they're just at the
 "make sure it doesn't crash" level.

 There are extra flags on several functions for extensibility.

 Future improvements might include:
    * Multithreading
    * Asynchronous notify
    * Explicit acknowledgement

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


More information about the tor-bugs mailing list