#28821: Introduce timer_is_scheduled() method and replace padding_scheduled_at_us -------------------------+------------------------------------------------- Reporter: asn | Owner: (none) Type: defect | Status: new Priority: Medium | Milestone: Tor: unspecified Component: Core | Version: Tor/Tor | Keywords: wtf-pad, tor-relay, tor-cell, Severity: Normal | padding, refactoring Actual Points: | Parent ID: #28637 Points: | Reviewer: Sponsor: | -------------------------+------------------------------------------------- This came up during #28142 review: https://github.com/torproject/tor/pull/461#discussion_r231889687
When #28142 gets merged, we can do a small refactoring by removing `padding_scheduled_at_us` and replacing it with a new timer method that returns true if the timer is scheduled, and false if it's disabled. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28821> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs