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

    XMLWordPrintableJSON

Details

    • Service Arch
    • Service Arch Prioritized List

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            ryan.berryhill@mongodb.com Ryan Berryhill
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: