Skip to content

Commit

Permalink
[thread] add Thread stack lock held for output the unicast addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangLe2016 committed May 29, 2024
1 parent fd28025 commit a100b5e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,9 @@ void GenericThreadStackManagerImpl_OpenThread<ImplClass>::_OnPlatformEvent(const
}

#if CHIP_DETAIL_LOGGING
Impl()->LockThreadStack();
LogOpenThreadStateChange(mOTInst, event->ThreadStateChange.OpenThread.Flags);
Impl()->UnlockThreadStack();
#endif // CHIP_DETAIL_LOGGING
}
}
Expand Down

0 comments on commit a100b5e

Please sign in to comment.