[SERVER-42895] Expand mongo::LockActions/Mutex Created: 19/Aug/19 Updated: 29/Oct/23 Resolved: 22/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Benjamin Caimano (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Service Arch 2019-10-07, Service Arch 2019-10-21 | ||||||||
| Participants: | |||||||||
| Description |
|
mongo::Mutex currently has a single mongo::LockActions smart pointer without an onLock() function. We should expand mongo::Mutex to keep a linked list and mongo::LockActions to have a full suite of hooks. In addition, all LockActions hooks should probably pass a const mongo::Mutex pointer. |
| Comments |
| Comment by Githook User [ 31/Oct/19 ] |
|
Author: {'username': 'bcaimano', 'email': 'ben.caimano@mongodb.com', 'name': 'Ben Caimano'}Message: This commit backports Mutex, BasicLockableAdaptor, and DiagnosticInfo to Mutex: BasicLockableAdaptor: DiagnosticInfo:
Note that while this commit adds these pieces and integrates them into |
| Comment by Githook User [ 21/Oct/19 ] |
|
Author: {'username': 'bcaimano', 'email': 'ben.caimano@mongodb.com', 'name': 'Ben Caimano'}Message: This commit:
|