| Index: runtime/bin/thread_win.cc
|
| ===================================================================
|
| --- runtime/bin/thread_win.cc (revision 39237)
|
| +++ runtime/bin/thread_win.cc (working copy)
|
| @@ -165,6 +165,12 @@
|
| }
|
|
|
|
|
| +void Thread::InitOnce() {
|
| + MonitorWaitData::monitor_wait_data_key_ = Thread::CreateThreadLocal();
|
| + MonitorData::GetMonitorWaitDataForThread();
|
| +}
|
| +
|
| +
|
| Mutex::Mutex() {
|
| // Allocate unnamed semaphore with initial count 1 and max count 1.
|
| data_.semaphore_ = CreateSemaphore(NULL, 1, 1, NULL);
|
|
|