Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #17927

Closed (moved)
(moved)
Open
Created Dec 23, 2015 by Nick Mathewson@nickm🍬

Use SRWLock for non-recursive locks on vista and later

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?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking