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

Add noexcept specifier to TaskExecutor::schedule functions

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch 2022-05-30

      The schedule*() family of functions always return StatusWith<Handle>. We should liberally apply the noexcept specifier and function try-catch to these functions so that we can trust the StatusWith and avoid try-catches around the function itself.

            Assignee:
            daniel.morilha@mongodb.com Daniel Morilha (Inactive)
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: