| 10226 | } |
| 10227 | |
| 10228 | void ThreadWithParamBase::Join() { |
| 10229 | GTEST_CHECK_(::WaitForSingleObject(thread_.Get(), INFINITE) == WAIT_OBJECT_0) |
| 10230 | << "Failed to join the thread with error " << ::GetLastError() << "."; |
| 10231 | } |
| 10232 | |
| 10233 | // Maps a thread to a set of ThreadIdToThreadLocals that have values |
| 10234 | // instantiated on that thread and notifies them when the thread exits. A |