Remove futex usage in favour of std::atomic/AtomicWord::wait on TicketPool

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Workload Scheduling
    • Workload Scheduling 2024-11-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As part of SERVER-72067 we had to implement the TicketPool class using raw Linux futex syscalls due to not having C++20 atomics at the time.

      These calls should go away in order to use C++20 atomics once we can use them in the codebase in order to enable cross-platform usage pof the class. Right now these calls block PriorityTicketHolder from being multi-platform since they are tied to Linux.

      Places affected by this have been tagged to this ticket in the comments.

            Assignee:
            Drew Beckmen
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: