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

[tor-bugs] #32884 [Core Tor/Tor]: set_main_thread() not called on second initialization with pthreads



#32884: set_main_thread() not called on second initialization with pthreads
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:  nickm
         Type:  defect   |     Status:  assigned
     Priority:  Medium   |  Milestone:  Tor: 0.4.3.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  035-backport 040-backport?
     Severity:  Normal   |  041-backport 042-backport
Actual Points:           |  Parent ID:  #32883
       Points:  .1       |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 The windows thread initialization function calls set_main_thread
 unconditionally, but the pthreads thread initialization function only
 calls it the first time we're initializing Tor.  That can lead to trouble
 with embedding.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32884>
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