Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-90863

SemaphoreTicketHolder only notifies waiters if they are present

    • Service Arch
    • Fully Compatible
    • v8.0
    • 200

      The futex-based SemaphoreTicketHolder incurs the cost of a syscall on each attempts to notify queued waiters. By tracking the count of waiters, we can prevent needless syscalls to wake non-existent waiters. 

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: