Files
asterisk/main
George Joseph 9afa54b3b3 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 7e2243f9e1)
2024-01-12 18:29:18 +00:00
..
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2020-05-05 10:06:43 -05:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:09 -06:00
2023-01-31 12:59:16 -06:00
2021-12-02 15:02:09 -06:00
2022-07-12 07:46:03 -05:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2024-01-12 18:29:18 +00:00
2023-05-08 18:13:35 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2022-07-07 08:19:14 -05:00
2022-09-26 14:11:17 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2021-01-04 05:00:58 -06:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2021-11-15 17:33:27 -06:00
2023-07-10 11:49:47 +00:00
2021-12-02 15:02:09 -06:00
2023-07-10 11:49:48 +00:00
2023-05-08 18:13:35 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2023-09-06 16:56:00 +00:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2021-11-18 14:46:42 -06:00
2021-11-18 14:46:42 -06:00
2022-05-09 08:21:45 -05:00
2021-12-02 15:02:09 -06:00
2021-12-02 15:02:09 -06:00
2022-03-24 12:00:58 -05:00
2021-12-02 15:02:09 -06:00
2021-11-15 17:33:27 -06:00
2021-12-02 15:02:09 -06:00