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

Re: [tor-bugs] #16695 [Tor]: Decouple generating controller events from sending them to controllers



#16695: Decouple generating controller events  from sending them to controllers
------------------------+---------------------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  SponsorS TorCoreTeam201508 blob
Actual Points:          |  Parent ID:  #16764
       Points:          |
------------------------+---------------------------------------------

Comment (by yawning):

 Do we support `tor_threadlocaL_set(foo, NULL)`? Pthreads does not have a
 way to disambiguate no key being set vs NULL being set. MSDN says you must
 check `GetLastError` if `TlsGetValue` returns NULL.

 "Don't do that, because it's silly" is a valid answer here, but this
 should be documented, and may be assertion worthy.

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