/** the pid of this runset, reasonably unique. */
static pid_t check_lock_pid;
+/** print all possible debug info on the state of the system */
+static void total_debug_info();
+
/** print pretty lock error and exit */
static void lock_error(struct checked_lock* lock,
const char* func, const char* file, int line, const char* err)
(lock->type==check_lock_mutex)?"mutex": (
(lock->type==check_lock_spinlock)?"spinlock": (
(lock->type==check_lock_rwlock)?"rwlock": "badtype")), err);
+ log_err("complete status display:");
+ total_debug_info();
fatal_exit("bailing out");
}
held_debug_info(thr, f);
}
-/** print all possible debug info on the state of the system */
static void
total_debug_info()
{