Get Lval for sh_ptr and fix build error
This commit is contained in:
@@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user