[tor-bugs] #16695 [Tor]: Decouple generating controller events from sending them to controllers
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Aug 17 20:24:49 UTC 2015
#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
More information about the tor-bugs
mailing list