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

Method Mutex

tests/gtest/gtest-all.cc:10044–10050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10042}
10043
10044Mutex::Mutex()
10045 : owner_thread_id_(0),
10046 type_(kDynamic),
10047 critical_section_init_phase_(0),
10048 critical_section_(new CRITICAL_SECTION) {
10049 ::InitializeCriticalSection(critical_section_);
10050}
10051
10052Mutex::~Mutex() {
10053 // Static mutexes are leaked intentionally. It is not thread-safe to try

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected