MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / Lock

Method Lock

tests/gtest/gtest-all.cc:10062–10066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10060}
10061
10062void Mutex::Lock() {
10063 ThreadSafeLazyInit();
10064 ::EnterCriticalSection(critical_section_);
10065 owner_thread_id_ = ::GetCurrentThreadId();
10066}
10067
10068void Mutex::Unlock() {
10069 ThreadSafeLazyInit();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected