Files
asterisk/main
George Joseph 04df168656 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.
2023-09-22 14:34:30 +00:00
..
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2020-05-05 10:06:43 -05:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2020-04-06 10:23:20 -05:00
2021-12-02 15:02:42 -06:00
2023-01-30 16:17:20 -05:00
2021-12-02 15:02:42 -06:00
2022-07-12 07:45:19 -05:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2023-09-21 14:47:08 +00:00
2023-03-16 10:15:08 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2022-07-07 08:22:43 -05:00
2022-09-26 14:12:25 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2020-06-10 09:33:28 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2023-06-05 13:31:55 +00:00
2021-12-02 15:02:42 -06:00
2017-12-20 12:40:01 -05:00
2023-06-09 18:19:46 +00:00
2023-04-03 07:12:13 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2023-08-28 13:37:56 +00:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2021-11-18 13:25:54 -06:00
2021-11-18 13:25:54 -06:00
2022-05-09 08:21:58 -05:00
2021-12-02 15:02:42 -06:00
2021-12-02 15:02:42 -06:00
2022-03-24 12:01:32 -05:00
2021-12-02 15:02:42 -06:00
2021-11-15 15:28:45 -06:00
2021-12-02 15:02:42 -06:00