[SERVER-49848] Add interface to check single-threaded context Created: 23/Jul/20  Updated: 29/Oct/23  Resolved: 24/Jul/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Improvement Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-49106 Add poll function to the ServiceExecu... Closed
Backwards Compatibility: Fully Compatible
Sprint: Evergreen 2020-07-27
Participants:

 Description   

We use ThreadSafetyContext (defined here) to enforce execution of certain initialization methods in a single-threaded context. We should introduce a new interface (by extending ThreadSafetyContext) that allows checking whether the current execution context is single-threaded.



 Comments   
Comment by Githook User [ 24/Jul/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@mongodb.com', 'username': 'samanca'}

Message: SERVER-49848 Add interface to check single-threaded context
Branch: master
https://github.com/mongodb/mongo/commit/1276aac5a0f0fac81c4f3a485feff10ff61709e1

Generated at Thu Feb 08 05:21:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.