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

Function ThreadFuncWithCLinkage

tests/gtest/gtest.h:1561–1564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1559// cannot be defined with C-linkage we need to define a free C-function to
1560// pass into pthread_create().
1561extern "C" inline void* ThreadFuncWithCLinkage(void* thread) {
1562 static_cast<ThreadWithParamBase*>(thread)->Run();
1563 return nullptr;
1564}
1565
1566// Helper class for testing Google Test's multi-threading constructs.
1567// To use it, write:

Callers

nothing calls this directly

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected