base/threading: Move Create() to share from all platforms
commit9f3199f1a065ed5e926b43372504e597e8b03346
authortoyoshim <toyoshim@chromium.org>
Sat, 18 Jul 2015 09:49:33 +0000 (18 02:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 18 Jul 2015 09:50:20 +0000 (18 09:50 +0000)
tree7b9ed2ac28d1ce52506962220afa0fdbb11ef164
parent349423af4f5941a60af567f7bc389ed7dc3da5f9
base/threading: Move Create() to share from all platforms

For now, each PlatformThread implementation has a Create() that just
calls CreateWithPriority() internally. So let's remove platform
specific Create() implementation and share the same code placed in
PlatformThread class header.

BUG=468793

Review URL: https://codereview.chromium.org/1240073002

Cr-Commit-Position: refs/heads/master@{#339395}
base/threading/platform_thread.h
base/threading/platform_thread_posix.cc
base/threading/platform_thread_win.cc
base/threading/thread.cc