[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #18308 [Core Tor/Tor]: Use a better pattern for "create mutex if not already initialized" (was: Tor threading broken)
#18308: Use a better pattern for "create mutex if not already initialized"
-------------------------------------------------+-------------------------
Reporter: cypherpunks | Owner: nickm
Type: defect | Status:
| accepted
Priority: Medium | Milestone: Tor:
| unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: threading, standards-compliance, | Actual Points:
posix, win32 |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Changes (by nickm):
* keywords: => threading, standards-compliance, posix, win32
Comment:
Not too hard to do right on posix, but downright unrealistic with
CRITICAL_SECTION values on windows. Might need a hybrid approach for
static mutexes.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18308#comment:7>
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