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

Function ThreadLocal

tests/gtest/gtest.h:2021–2023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2019 ThreadLocal()
2020 : key_(CreateKey()), default_factory_(new DefaultValueHolderFactory()) {}
2021 explicit ThreadLocal(const T& value)
2022 : key_(CreateKey()),
2023 default_factory_(new InstanceValueHolderFactory(value)) {}
2024
2025 ~ThreadLocal() {
2026 // Destroys the managed object for the current thread, if any.

Callers 1

gtest.hFile · 0.70

Calls 1

CreateKeyFunction · 0.85

Tested by

no test coverage detected