[SERVER-44047] Add AtomicWord ptr timer cache to Interruptible::waitForConditionOrInterrupt*() Created: 16/Oct/19  Updated: 29/Oct/23  Resolved: 04/Feb/20

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

Type: New Feature Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-54344 Interruptible's Atomic timer paramete... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2020-02-10
Participants:

 Description   

We could modify waitForConditionOrInterrupt to accept an optional AtomicWord which would be incremented for the time spent waiting at a set period. This would give devs an easy option to account for their long waiting conditions.



 Comments   
Comment by Githook User [ 04/Feb/20 ]

Author:

{'name': 'Amirsaman Memaripour', 'email': 'amirsaman.memaripour@10gen.com'}

Message: SERVER-44047 Add timer support to Interruptible::waitForConditionOrInterrupt()
Branch: master
https://github.com/mongodb/mongo/commit/25b0321d7954e9be920e7e5a053b81a54cac8a3c

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