[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#18363: Tor could use a publish/subscribe abstrction
------------------------+--------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  new
     Priority:  Medium  |  Milestone:  Tor: 0.2.9.x-final
    Component:  Tor     |    Version:
     Severity:  Normal  |   Keywords:  modularity
Actual Points:          |  Parent ID:
       Points:  medium  |    Sponsor:  SponsorS
------------------------+--------------------------------
 Many places in our codebase, we have a function "foo_has_occurred()" that
 is called whenever foo happens, and which dispatches into many other semi-
 unrelated modules.  These functions tend to be fairly huge modularity
 violations, and create many surprising edges in our module callgraph.
 Using a publish/subscribe pattern would be the usual way to enforce these
 divisions.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18363>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs