MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / ThreadMain

Method ThreadMain

test/common/gtest/gtest.cpp:8975–8982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8973 };
8974
8975 static DWORD WINAPI ThreadMain(void* ptr) {
8976 // Transfers ownership.
8977 scoped_ptr<ThreadMainParam> param(static_cast<ThreadMainParam*>(ptr));
8978 if (param->thread_can_start_ != NULL)
8979 param->thread_can_start_->WaitForNotification();
8980 param->runnable_->Run();
8981 return 0;
8982 }
8983
8984 // Prohibit instantiation.
8985 ThreadWithParamSupport();

Callers

nothing calls this directly

Calls 2

WaitForNotificationMethod · 0.45
RunMethod · 0.45

Tested by

no test coverage detected