| 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(); |
nothing calls this directly
no test coverage detected