From 0090aa6e3ab676c8c421249719e8356b42b3b492 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Mon, 29 Sep 2025 12:46:58 -0400 Subject: [PATCH] Qutex: Add getter for currOwner pointer --- include/qutex.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/qutex.h b/include/qutex.h index 0a83e79..eeb533c 100644 --- a/include/qutex.h +++ b/include/qutex.h @@ -89,6 +89,10 @@ public: */ void release(); +#ifdef CONFIG_ENABLE_DEBUG_LOCKS + LockerAndInvokerBase* getCurrOwner() const { return currOwner; } +#endif + public: #ifdef CONFIG_ENABLE_DEBUG_LOCKS std::string name;