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

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

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

      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@mongodb.com Ryan Berryhill
            Reporter:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: