Delete deprecated PlatformThread looping
Bug: webrtc:10594, webrtc:7187 Change-Id: Icba3a5cf6dbe817ead427c27645b3ad7bc8819be Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134642 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27833}
This commit is contained in:
@ -162,8 +162,10 @@ void ProcessThreadImpl::DeRegisterModule(Module* module) {
|
||||
}
|
||||
|
||||
// static
|
||||
bool ProcessThreadImpl::Run(void* obj) {
|
||||
return static_cast<ProcessThreadImpl*>(obj)->Process();
|
||||
void ProcessThreadImpl::Run(void* obj) {
|
||||
ProcessThreadImpl* impl = static_cast<ProcessThreadImpl*>(obj);
|
||||
while (impl->Process()) {
|
||||
}
|
||||
}
|
||||
|
||||
bool ProcessThreadImpl::Process() {
|
||||
|
||||
Reference in New Issue
Block a user