webrtc/rtc_base/system
Karl Wiberg 98417037d9 rtc::Event::Wait(kForever): Print stack trace when we deadlock
After being stuck "forever" (3 seconds) waiting for an event to
trigger, log the stack trace of the current thread to aid debugging of
the deadlock.

Bug: webrtc:10308
Change-Id: I04852f191027294d7e7a7f5e63de4c6c7fdd6326
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128342
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27263}
2019-03-25 09:37:12 +00:00
..
arch.h Remove typedefs.h from webrtc/ root (part 1) 2018-05-23 12:07:10 +00:00
asm_defines.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
BUILD.gn rtc::Event::Wait(kForever): Print stack trace when we deadlock 2019-03-25 09:37:12 +00:00
cocoa_threading.h Get rid of thread_darwin file. 2018-10-12 12:53:59 +00:00
cocoa_threading.mm Get rid of thread_darwin file. 2018-10-12 12:53:59 +00:00
DEPS rtc::Event::Wait(kForever): Print stack trace when we deadlock 2019-03-25 09:37:12 +00:00
fallthrough.h Move FALLTHROUGH macro to a separate header, and give it an RTC_ prefix 2018-02-05 11:24:59 +00:00
file_wrapper.cc Refactor FileRotatingStream to use FileWrapper rather than FileStream 2019-01-22 11:28:53 +00:00
file_wrapper.h Delete rtc::File, usage replaced with FileWrapper 2019-02-08 16:23:53 +00:00
ignore_warnings.h Break out the part of the iSAC codec that's used for Voice Activity Detection 2018-05-04 08:53:34 +00:00
inline.h RTC_LOG_* macros: Implement argument passing with a single variadic call 2018-05-23 23:15:04 +00:00
rtc_export.h Add rtc_enable_symbol_export to incrementally create a WebRTC component. 2018-10-10 11:04:34 +00:00
thread_registry.cc Let threads opt in to having their stack traces printed 2019-03-14 11:46:28 +00:00
thread_registry.h Let threads opt in to having their stack traces printed 2019-03-14 11:46:28 +00:00
unused.h Remove typedefs.h from webrtc/ root (part 1) 2018-05-23 12:07:10 +00:00
warn_current_thread_is_deadlocked.cc rtc::Event::Wait(kForever): Print stack trace when we deadlock 2019-03-25 09:37:12 +00:00
warn_current_thread_is_deadlocked.h rtc::Event::Wait(kForever): Print stack trace when we deadlock 2019-03-25 09:37:12 +00:00