文件最后提交记录最后更新时间
Always check out google_benchmark, part 5. Remove use of google_benchmark/buildconfig.gni. Bug: chromium:1404759 Change-Id: I06e225b1457dd50e3777c5fcd277f639471f453a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/297700 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/main@{#39560} 3 年前
Introduces rtc_base/synchronization/mutex.h. This change introduces a new non-reentrant mutex to WebRTC. It enables eventual migration to Abseil's mutex. The mutex types supportable by webrtc::Mutex are - absl::Mutex - CriticalSection (Windows only) - pthread_mutex (POSIX only) In addition to introducing the mutexes, the CL also changes PacketBuffer to use the new mutex instead of rtc::CriticalSection. The method of yielding from critical_section.cc was given a mini-cleanup and YieldCurrentThread() was added to rtc_base/synchronization/yield.h/cc. Additionally, google_benchmark benchmarks for the mutexes were added (test courtesy of danilchap@), and some results from a pthread/Abseil shootout were added showing Abseil has the advantage in higher contention. Bug: webrtc:11567, webrtc:11634 Change-Id: Iaec324ccb32ec3851bf6db3fd290f5ea5dee4c81 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176230 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31443} 5 年前
Format /rtc_base git ls-files | grep -e "\(\.h\|\.cc\)$" | grep -e "^rtc_base/" | xargs clang-format -i ; git cl format after landing: add to .git-blame-ignore-revs Bug: webrtc:15082 Change-Id: I152228f7c7926adf95d2f3fbbe4178556fd75d0d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/302061 Reviewed-by: Florent Castelli <orphis@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39914} 3 年前
Add method Mutex::AssertHeld Acts as a compile time annotation, with corresponding run-time check only when DCHECKs are enabled, and built using absl or pthreads mutexes. Bug: None Change-Id: Ie044c1ea1e576df71d634301f7df9d75cdf10b1b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226328 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34555} 4 年前
Fix 'DoNotOptimize<int>' is deprecated issue. Change-Id: Ia25b7f73882d45bd2f1a606f51569269ece25fe0 Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/298042 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Jeremy Leconte <jleconte@google.com> Cr-Commit-Position: refs/heads/main@{#39589} 3 年前
Add method Mutex::AssertHeld Acts as a compile time annotation, with corresponding run-time check only when DCHECKs are enabled, and built using absl or pthreads mutexes. Bug: None Change-Id: Ie044c1ea1e576df71d634301f7df9d75cdf10b1b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226328 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34555} 4 年前
Add method Mutex::AssertHeld Acts as a compile time annotation, with corresponding run-time check only when DCHECKs are enabled, and built using absl or pthreads mutexes. Bug: None Change-Id: Ie044c1ea1e576df71d634301f7df9d75cdf10b1b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226328 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34555} 4 年前
Remove usage of MessageHandlerAutoCleanup in rtc_base unittests Bug: webrtc:11988 Change-Id: I95017df0cd188897a0507bb07e7e571343f80262 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/274161 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38008} 3 年前
Support initializing a SequenceChecker with a provided TaskQueue. Bug: none Change-Id: I5106f29ab7f9ed8530626f33f6259eb7aeb9e779 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/324260 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40993} 2 年前
Support initializing a SequenceChecker with a provided TaskQueue. Bug: none Change-Id: I5106f29ab7f9ed8530626f33f6259eb7aeb9e779 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/324260 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#40993} 2 年前
Introduces rtc_base/synchronization/mutex.h. This change introduces a new non-reentrant mutex to WebRTC. It enables eventual migration to Abseil's mutex. The mutex types supportable by webrtc::Mutex are - absl::Mutex - CriticalSection (Windows only) - pthread_mutex (POSIX only) In addition to introducing the mutexes, the CL also changes PacketBuffer to use the new mutex instead of rtc::CriticalSection. The method of yielding from critical_section.cc was given a mini-cleanup and YieldCurrentThread() was added to rtc_base/synchronization/yield.h/cc. Additionally, google_benchmark benchmarks for the mutexes were added (test courtesy of danilchap@), and some results from a pthread/Abseil shootout were added showing Abseil has the advantage in higher contention. Bug: webrtc:11567, webrtc:11634 Change-Id: Iaec324ccb32ec3851bf6db3fd290f5ea5dee4c81 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176230 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31443} 5 年前
Introduces rtc_base/synchronization/mutex.h. This change introduces a new non-reentrant mutex to WebRTC. It enables eventual migration to Abseil's mutex. The mutex types supportable by webrtc::Mutex are - absl::Mutex - CriticalSection (Windows only) - pthread_mutex (POSIX only) In addition to introducing the mutexes, the CL also changes PacketBuffer to use the new mutex instead of rtc::CriticalSection. The method of yielding from critical_section.cc was given a mini-cleanup and YieldCurrentThread() was added to rtc_base/synchronization/yield.h/cc. Additionally, google_benchmark benchmarks for the mutexes were added (test courtesy of danilchap@), and some results from a pthread/Abseil shootout were added showing Abseil has the advantage in higher contention. Bug: webrtc:11567, webrtc:11634 Change-Id: Iaec324ccb32ec3851bf6db3fd290f5ea5dee4c81 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176230 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31443} 5 年前
Add pthread thread-local storage support for ScopedYieldPolicy Emscripten does not support C++11 thread_local but does support the pthread TLS API. Bug: None Change-Id: Ia21895148d1df7652579d086d9e1c0c53d7a85f4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/145441 Commit-Queue: Steve Anton <steveanton@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28621} 6 年前
Deleting copy constructors for Scoped* classes. Bug: webrtc:10365 Change-Id: Ia670b7b1ac72eb19f9e30228fd023601e2fb8a88 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128901 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27259}7 年前
In rtc_base/ and api/ replace mock macros with unified MOCK_METHOD macro Bug: webrtc:11564 Change-Id: I8f4171490df39c683276f9d401a4083962ee409a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/175130 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31266} 5 年前