webrtc/rtc_base/synchronization
Danil Chapovalov 6e7c2685e3 Allow recursive check for RTC_DCHECK_RUN_ON macro
instead of using Lock/Unlock attributes, use Assert attribute to annotate code is running on certain task queue or thread.

Such check better matches what is checked, in particular allows to
recheck (and thus better document) currently used task queue

Bug: None
Change-Id: I5bc1c397efbc8342cf7915093b578bb015c85651
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/269381
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37619}
2022-07-26 09:27:23 +00:00
..
BUILD.gn Move location out of rtc_base_approved 2022-04-19 21:57:48 +00:00
DEPS Introduces rtc_base/synchronization/mutex.h. 2020-06-04 09:55:12 +00:00
mutex.h Reland "Delete unused class GlobalMutex" 2022-04-08 10:02:08 +00:00
mutex_abseil.h Add method Mutex::AssertHeld 2021-07-27 07:46:32 +00:00
mutex_benchmark.cc Mutex: Temporarily add re-entry CHECK. 2020-06-10 07:45:50 +00:00
mutex_critical_section.h Add method Mutex::AssertHeld 2021-07-27 07:46:32 +00:00
mutex_pthread.h Add method Mutex::AssertHeld 2021-07-27 07:46:32 +00:00
mutex_unittest.cc Reland "Delete unused class GlobalMutex" 2022-04-08 10:02:08 +00:00
sequence_checker_internal.cc Permit current queue reference to be null on sequence checker creation 2021-11-15 09:39:10 +00:00
sequence_checker_internal.h Allow recursive check for RTC_DCHECK_RUN_ON macro 2022-07-26 09:27:23 +00:00
yield.cc Introduces rtc_base/synchronization/mutex.h. 2020-06-04 09:55:12 +00:00
yield.h Introduces rtc_base/synchronization/mutex.h. 2020-06-04 09:55:12 +00:00
yield_policy.cc Add pthread thread-local storage support for ScopedYieldPolicy 2019-07-19 14:33:53 +00:00
yield_policy.h Deleting copy constructors for Scoped* classes. 2019-03-25 09:05:29 +00:00
yield_policy_unittest.cc In rtc_base/ and api/ replace mock macros with unified MOCK_METHOD macro 2020-05-14 19:33:26 +00:00