: VG_INVALID_THREADID);
}
+#if 0
/** Sanity check of the doubly linked list of segments referenced by a
* ThreadInfo struct.
* @return True if sane, False if not.
}
return True;
}
+#endif
DrdThreadId thread_pre_create(const DrdThreadId creator,
const ThreadId vg_created)
{
tl_assert(0 <= tid && tid < DRD_N_THREADS
&& tid != DRD_INVALID_THREADID);
- tl_assert(sane_ThreadInfo(&s_threadinfo[tid]));
+ // tl_assert(sane_ThreadInfo(&s_threadinfo[tid]));
sg->prev = s_threadinfo[tid].last;
sg->next = 0;
if (s_threadinfo[tid].last)
s_threadinfo[tid].last = sg;
if (s_threadinfo[tid].first == 0)
s_threadinfo[tid].first = sg;
- tl_assert(sane_ThreadInfo(&s_threadinfo[tid]));
+ // tl_assert(sane_ThreadInfo(&s_threadinfo[tid]));
}
/** Remove a segment from the segment list of thread threadid, and free the
{
Segment* sg;
- tl_assert(sane_ThreadInfo(&s_threadinfo[i]));
+ // tl_assert(sane_ThreadInfo(&s_threadinfo[i]));
for (sg = s_threadinfo[i].first; sg; sg = sg->next)
{
}
}
- tl_assert(sane_ThreadInfo(&s_threadinfo[i]));
+ // tl_assert(sane_ThreadInfo(&s_threadinfo[i]));
}
}