Skip to content
Snippets Groups Projects
Closed TorCtl isn't joining on _thread
  • View options
  • TorCtl isn't joining on _thread

    • View options
  • Closed created by Damian Johnson

    Very simple bug: the launch_thread function of torctl spawns two threads (self._thread and self._eventThread), but its close function only joins on self._eventThread [1]. The result is that the _thread lives a little longer (you can confirm this by checking threading.enumerate() after calling close): 1/19/2011 09:18:49 [INFO] [<_MainThread(MainThread, started -1216911680)>, <Thread(TorLoop, started daemon -1217868944)>]

    This should be a trivial fix, though unfortunately it isn't the cause of the concurrency troubles I'm trying to track down. :(

    -Damian

    [1] https://gitweb.torproject.org/pytorctl.git/blob/HEAD:/TorCtl.py#l636

    Attributes

    Assignees

    Labels

    Milestone

    None

    Dates

    Start: None

    Due: None

    Time tracking

    No estimate or time spent

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first