Use atomic wait/notify in AsioNetworkingBaton instead of ::poll when there are no sessions

XMLWordPrintableJSON

    • Service Arch
    • Fully Compatible
    • Service Arch 2024-02-19, Service Arch 2024-03-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      With the changes in SERVER-81793 and the abstraction to be introduced in SERVER-81797, it should be possible for the `AsioNetworkingBaton` to avoid using `poll()` to wait for a notification in the case where we don't need to monitor any sockets. 

      There is a patch in SERVER-81793 with a proof-of-concept implementation of this idea.

              Assignee:
              Ryan Berryhill
              Reporter:
              Ryan Berryhill
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: