| Index: base/threading/platform_thread_win.cc
|
| diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc
|
| index 9e877b32f9e1e630ce31c164f5e58680b898e5f7..045d613271e269b49a710e1c0b3dc51caaddeabc 100644
|
| --- a/base/threading/platform_thread_win.cc
|
| +++ b/base/threading/platform_thread_win.cc
|
| @@ -103,6 +103,12 @@ PlatformThreadId PlatformThread::CurrentId() {
|
| }
|
|
|
| // static
|
| +PlatformThreadHandle PlatformThread::CurrentHandle() {
|
| + NOTIMPLEMENTED(); // See OpenThread()
|
| + return kNullThreadHandle;
|
| +}
|
| +
|
| +// static
|
| void PlatformThread::YieldCurrentThread() {
|
| ::Sleep(0);
|
| }
|
| @@ -199,6 +205,9 @@ void PlatformThread::SetThreadPriority(PlatformThreadHandle handle,
|
| case kThreadPriority_RealtimeAudio:
|
| ::SetThreadPriority(handle, THREAD_PRIORITY_TIME_CRITICAL);
|
| break;
|
| + default:
|
| + NOTREACHED() << "Unknown priority.";
|
| + break;
|
| }
|
| }
|
|
|
|
|