Index: base/platform_thread_win.cc |
=================================================================== |
--- base/platform_thread_win.cc (revision 11032) |
+++ base/platform_thread_win.cc (working copy) |
@@ -85,6 +85,14 @@ |
} |
// static |
+bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { |
+ PlatformThreadHandle thread_handle; |
+ bool result = Create(stack_size, delegate, &thread_handle); |
+ CloseHandle(thread_handle); |
+ return result; |
+} |
+ |
+// static |
void PlatformThread::Join(PlatformThreadHandle thread_handle) { |
DCHECK(thread_handle); |