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;