MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / Lock

Method Lock

test/common/gtest/gtest.cpp:8876–8880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8874}
8875
8876void Mutex::Lock() {
8877 ThreadSafeLazyInit();
8878 ::EnterCriticalSection(critical_section_);
8879 owner_thread_id_ = ::GetCurrentThreadId();
8880}
8881
8882void Mutex::Unlock() {
8883 ThreadSafeLazyInit();

Callers 4

test_arbitrator.pyFile · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected