Skip to content
Snippets Groups Projects
Commit 5f4aac7e authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[PrivateSemaphore] Include context in debug log message on construction

parent 371ff589
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,8 @@ class PrivateSemaphore : protected Blockable<LogSubsystem::PS> {
// cppcheck-suppress uninitMemberVar
PrivateSemaphore(emper::BlockablePurpose blockablePurpose = emper::BlockablePurpose::GENERIC)
: Blockable(*Runtime::getRuntime(), blockablePurpose) {
LOGD("constructed by " <<= Dispatcher::getCurrentFiber());
LOGD("on context " << Context::getCurrentContext() << " PS constructed by " <<=
Dispatcher::getCurrentFiber());
}
virtual ~PrivateSemaphore() = default;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment