[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #17927 [Tor]: Use SRWLock for non-recursive locks on vista and later
#17927: Use SRWLock for non-recursive locks on vista and later
-----------------------------+--------------------------
Reporter: nickm | Owner:
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: 0.2.???
Component: Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Sponsor:
-----------------------------+--------------------------
After WinXP, Windows added the SRWLock type, which is generally much
faster than CRITICAL_SECTION, and supports RW semantics. It doesn't
support recursive usage, though it can be hacked in.
I'm calling this 0.2.??? since we have no evidence that locking is
anywhere close to our critical path. But who knows; perhaps it is? Or
will be, once we do more things in workers?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17927>
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