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

Method Mutex

tests/gtest/gtest.h:1966–1969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1964class Mutex : public MutexBase {
1965 public:
1966 Mutex() {
1967 GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_init(&mutex_, nullptr));
1968 has_owner_ = false;
1969 }
1970 ~Mutex() {
1971 GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_destroy(&mutex_));
1972 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected