[SERVER-45212] Add try_lock() to SpinLock Created: 17/Dec/19  Updated: 29/Oct/23  Resolved: 16/Jan/20

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

Type: Improvement Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Amirsaman Memaripour
Resolution: Fixed Votes: 0
Labels: neweng, save-for-sam
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 0

 Description   

SpinLock is not currently able to satisfy Lockable. The changes to add try_lock() for both Windows and Linux are trivial and would allow us to propagate this option to Client.



 Comments   
Comment by Githook User [ 16/Jan/20 ]

Author:

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

Message: SERVER-45212 Add try_lock() to SpinLock
Branch: master
https://github.com/mongodb/mongo/commit/7ba6fede8aab0ab8a77515d7c11a017b213d8f93

Comment by Githook User [ 14/Jan/20 ]

Author:

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

Message: Revert "SERVER-45212 Add try_lock() to SpinLock"
Branch: master
https://github.com/mongodb/mongo/commit/917d0b9ab37d5a1027d76665c41d16a4baa0cf92

Comment by Githook User [ 13/Jan/20 ]

Author:

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

Message: SERVER-45212 Add try_lock() to SpinLock
Branch: master
https://github.com/mongodb/mongo/commit/17f4cba2580791994cc2ba0433a4a9e3509ecb90

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