Lazily create eventfd when we first need to poll on it in AsioNetworkingBaton

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Service Arch 2024-03-04, Service Arch 2024-03-18, Service Arch 2024-04-01
    • 135
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As a potential minor performance optimization, mathias@mongodb.com suggested we could lazily create the eventfd the first time we need to poll on it (here), rather than when we create the client. This should be a very easy change with small potential gains in performance.

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

                Created:
                Updated:
                Resolved: