Replaced regular sleep with a talk_base::Thread::ProcessMessages(..) call so that Posts get some execution time from the main thread.

Review URL: http://webrtc-codereview.appspot.com/122007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@442 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
hellner@google.com 2011-08-24 21:35:09 +00:00
parent 5cc9c68e8d
commit d1015fe677

View File

@ -297,7 +297,7 @@ class WebRtcSessionTest : public OnSignalImpl {
success = false;
break;
}
talk_base::Thread::SleepMs(1);
talk_base::Thread::Current()->ProcessMessages(1);
}
return success;
}