Get Lval for sh_ptr and fix build error

This commit is contained in:
2025-09-30 03:53:47 -04:00
parent 37b8cb0c7f
commit 2075c0b797
+6 -2
View File
@@ -192,15 +192,19 @@ public:
*/ */
if (gridlockLikely) if (gridlockLikely)
{ {
std::shared_ptr<AsynchronousContinuationChainLink>
currentContinuationShPtr =
serializedContinuation.shared_from_this();
bool removed = QutexAcquisitionHistoryTracker::getInstance() bool removed = QutexAcquisitionHistoryTracker::getInstance()
.remove(serializedContinuation.shared_from_this()); .remove(currentContinuationShPtr);
if (removed) if (removed)
{ {
std::cerr std::cerr
<< "LockerAndInvoker::operator(): False positive " << "LockerAndInvoker::operator(): False positive "
"gridlock detection - continuation @" "gridlock detection - continuation @"
<< serializedContinuation.get() << &serializedContinuation
<< " was being tracked but successfully acquired all " << " was being tracked but successfully acquired all "
"locks. This was likely due to timed delay, " "locks. This was likely due to timed delay, "
"long-running operation, or I/O delay." "long-running operation, or I/O delay."