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

Add noexcept specifier to TaskExecutor::schedule functions

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch 2022-05-30

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: