Files
asterisk/main
George Joseph 6415562a14 lock.c: Separate DETECT_DEADLOCKS from DEBUG_THREADS
Previously, DETECT_DEADLOCKS depended on DEBUG_THREADS.
Unfortunately, DEBUG_THREADS adds a lot of lock tracking overhead
to all of the lock lifecycle calls whereas DETECT_DEADLOCKS just
causes the lock calls to loop over trylock in 200us intervals until
the lock is obtained and spits out log messages if it takes more
than 5 seconds.  From a code perspective, the only reason they were
tied together was for logging.  So... The ifdefs in lock.c were
refactored to allow DETECT_DEADLOCKS to be enabled without
also enabling DEBUG_THREADS.

Resolves: #321

UserNote: You no longer need to select DEBUG_THREADS to use
DETECT_DEADLOCKS.  This removes a significant amount of overhead
if you just want to detect possible deadlocks vs needing full
lock tracing.

(cherry picked from commit 04183eb246)
2024-02-21 13:35:03 +00:00
..
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-05-05 10:06:43 -05:00
2020-05-05 10:06:43 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-04-06 10:23:20 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2024-02-21 13:35:03 +00:00
2021-11-15 15:28:45 -06:00
2021-11-18 14:48:34 -06:00
2023-07-07 13:31:52 -06:00
2022-07-12 06:20:21 -06:00
2020-06-10 09:33:28 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-08-18 05:26:24 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-06-10 09:33:28 -05:00
2023-07-07 13:31:53 -06:00
2021-11-15 15:28:45 -06:00
2023-07-07 13:31:53 -06:00
2021-11-15 15:28:45 -06:00
2022-05-04 13:30:35 -05:00
2021-11-15 15:28:45 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2022-05-04 13:30:35 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2018-06-23 08:26:19 +02:00
2021-11-29 08:49:55 -06:00