commit | 86639737b83d8877abc4810100e30a8af863189d | [log] [tgz] |
---|---|---|
author | pbos@webrtc.org <pbos@webrtc.org> | Fri Mar 13 00:06:21 2015 +0000 |
committer | pbos@webrtc.org <pbos@webrtc.org> | Fri Mar 13 00:07:45 2015 +0000 |
tree | bb7f0c1edc17a4a01183fe875159a62354635862 | |
parent | e534086492e92c45d74b176f3c8be4addb69713f [diff] [blame] |
Remove thread id from ThreadWrapper::Start(). Removes ThreadPosix::InitParams and a corresponding wait for an event. This unblocks ThreadPosix::Start which had to wait for thread scheduling for an event to trigger on the spawned thread, giving faster Start() calls. BUG=4413 R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/43699004 Cr-Commit-Position: refs/heads/master@{#8709} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8709 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/system_wrappers/source/condition_variable_unittest.cc b/webrtc/system_wrappers/source/condition_variable_unittest.cc index 9b8a6dd..9ca4ca9 100644 --- a/webrtc/system_wrappers/source/condition_variable_unittest.cc +++ b/webrtc/system_wrappers/source/condition_variable_unittest.cc
@@ -146,8 +146,7 @@ virtual void SetUp() { thread_ = ThreadWrapper::CreateThread(&WaitingRunFunction, &baton_); - unsigned int id = 42; - ASSERT_TRUE(thread_->Start(id)); + ASSERT_TRUE(thread_->Start()); } virtual void TearDown() {