Deprecating ThreadChecker specific interface.
All changes outside thread_checker.h are by: s/CalledOnValidThread/IsCurrent/ s/DetachFromThread/Detach/ Bug: webrtc:9883 Change-Id: Idbb1086bff0817db58e770116acf4c9d60fae8b3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131023 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27494}
This commit is contained in:
committed by
Commit Bot
parent
e5b94160b5
commit
c01367db40
@ -283,9 +283,9 @@ class AudioDeviceLinuxPulse : public AudioDeviceGeneric {
|
||||
uint8_t _playChannels;
|
||||
|
||||
// Stores thread ID in constructor.
|
||||
// We can then use ThreadChecker::CalledOnValidThread() to ensure that
|
||||
// We can then use ThreadChecker::IsCurrent() to ensure that
|
||||
// other methods are called from the same thread.
|
||||
// Currently only does RTC_DCHECK(thread_checker_.CalledOnValidThread()).
|
||||
// Currently only does RTC_DCHECK(thread_checker_.IsCurrent()).
|
||||
rtc::ThreadChecker thread_checker_;
|
||||
|
||||
bool _initialized;
|
||||
|
||||
Reference in New Issue
Block a user