|
ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
|
🔒 Lock debugging and deadlock detection with call stack backtraces and lock ordering validation More...
Go to the source code of this file.
Functions | |
| int | lock_debug_init (void) |
| int | lock_debug_start_thread (void) |
| void | lock_debug_destroy (void) |
| void | lock_debug_cleanup_thread (void) |
| void | lock_debug_get_stats (uint64_t *total_acquired, uint64_t *total_released, uint32_t *currently_held) |
| bool | lock_debug_is_initialized (void) |
| void | lock_debug_print_state (void) |
| void | lock_debug_trigger_print (void) |
| int | debug_mutex_lock (mutex_t *mutex, const char *file_name, int line_number, const char *function_name) |
| int | debug_mutex_trylock (mutex_t *mutex, const char *file_name, int line_number, const char *function_name) |
| int | debug_mutex_unlock (mutex_t *mutex, const char *file_name, int line_number, const char *function_name) |
| int | debug_rwlock_rdlock (rwlock_t *rwlock, const char *file_name, int line_number, const char *function_name) |
| int | debug_rwlock_wrlock (rwlock_t *rwlock, const char *file_name, int line_number, const char *function_name) |
| int | debug_rwlock_rdunlock (rwlock_t *rwlock, const char *file_name, int line_number, const char *function_name) |
| int | debug_rwlock_wrunlock (rwlock_t *rwlock, const char *file_name, int line_number, const char *function_name) |
🔒 Lock debugging and deadlock detection with call stack backtraces and lock ordering validation
Definition in file lock.c.
| int debug_mutex_lock | ( | mutex_t * | mutex, |
| const char * | file_name, | ||
| int | line_number, | ||
| const char * | function_name | ||
| ) |
Definition at line 1389 of file lock.c.
References mutex_lock_impl().
| int debug_mutex_trylock | ( | mutex_t * | mutex, |
| const char * | file_name, | ||
| int | line_number, | ||
| const char * | function_name | ||
| ) |
Definition at line 1396 of file lock.c.
References mutex_trylock_impl().
| int debug_mutex_unlock | ( | mutex_t * | mutex, |
| const char * | file_name, | ||
| int | line_number, | ||
| const char * | function_name | ||
| ) |
Definition at line 1403 of file lock.c.
References mutex_unlock_impl().
| int debug_rwlock_rdlock | ( | rwlock_t * | rwlock, |
| const char * | file_name, | ||
| int | line_number, | ||
| const char * | function_name | ||
| ) |
Definition at line 1410 of file lock.c.
References rwlock, and rwlock_rdlock_impl().
| int debug_rwlock_rdunlock | ( | rwlock_t * | rwlock, |
| const char * | file_name, | ||
| int | line_number, | ||
| const char * | function_name | ||
| ) |
Definition at line 1424 of file lock.c.
References rwlock, and rwlock_rdunlock_impl().
| int debug_rwlock_wrlock | ( | rwlock_t * | rwlock, |
| const char * | file_name, | ||
| int | line_number, | ||
| const char * | function_name | ||
| ) |
Definition at line 1417 of file lock.c.
References rwlock, and rwlock_wrlock_impl().
| int debug_rwlock_wrunlock | ( | rwlock_t * | rwlock, |
| const char * | file_name, | ||
| int | line_number, | ||
| const char * | function_name | ||
| ) |
Definition at line 1431 of file lock.c.
References rwlock, and rwlock_wrunlock_impl().
| void lock_debug_cleanup_thread | ( | void | ) |
Definition at line 1371 of file lock.c.
Referenced by asciichat_shared_destroy(), and server_main().
| void lock_debug_destroy | ( | void | ) |
Definition at line 1370 of file lock.c.
Referenced by asciichat_shared_destroy(), and server_main().
| void lock_debug_get_stats | ( | uint64_t * | total_acquired, |
| uint64_t * | total_released, | ||
| uint32_t * | currently_held | ||
| ) |
Definition at line 1372 of file lock.c.
Referenced by stats_logger_thread().
| int lock_debug_init | ( | void | ) |
| bool lock_debug_is_initialized | ( | void | ) |
Definition at line 1380 of file lock.c.
Referenced by stats_logger_thread().
| int lock_debug_start_thread | ( | void | ) |
| void lock_debug_trigger_print | ( | void | ) |