[SERVER-85787] Add std::jthread to banned polyfill lint check Created: 26/Jan/24  Updated: 27/Jan/24

Status: Needs Scheduling
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: George Wangensteen Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Operating System: ALL
Participants:

 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.


Generated at Thu Feb 08 06:58:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.