THRDEBUG_MAX_THREADS
static struct thr_check* thread_infos[THRDEBUG_MAX_THREADS];
static int thread_lockcount[THRDEBUG_MAX_THREADS];
log_assert(thr->num < THRDEBUG_MAX_THREADS);
for(i = 0; i < THRDEBUG_MAX_THREADS; i++)
for(i=0; i<THRDEBUG_MAX_THREADS; i++)
for(i=0; i<THRDEBUG_MAX_THREADS; i++) {
struct checked_lock* next_held_lock[THRDEBUG_MAX_THREADS];
struct checked_lock* prev_held_lock[THRDEBUG_MAX_THREADS];