[tor-bugs] #28864 [Core Tor/sbws]: sbws AsyncResults have no timeout

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 19 18:29:07 UTC 2018


#28864: sbws AsyncResults have no timeout
---------------------------+-----------------------------------
 Reporter:  teor           |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  sbws: 1.0.x-final
Component:  Core Tor/sbws  |        Version:  sbws: 1.0.2
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:  #28663         |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------

Comment (by juga):

 I looked more at this.
 `wait` is the method of an `event`
 (https://github.com/python/cpython/blob/master/Lib/multiprocessing/pool.py#L662),
 and it blocks
 (https://docs.python.org/3/library/threading.html?highlight=threading#threading.Event.wait)
 `sleep` is not blocking because happen in the main thread.
 Probably the cause (or at least the main one) is #28897.

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


More information about the tor-bugs mailing list