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

Add std::jthread to banned polyfill lint check

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch
    • ALL

    Description

      We should ban std::jthread for the same reason we ban std::thread, and additionally because it's cancellation/notification mechanisms aren't integrated with ours.

      If we need the functionality, we should build a stdx version that works with our cancellation/notification mechanisms and has the same std::terminate behavior as stdx::thread if the thread can't be allocated.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: