hash_insert (ctx->thread_hash, ref->data, new, 1);
}
else {
if (new->duplicate_thread)
new = new->parent;
if (is_descendant (new, thread)) /* no loops! */
hash_insert (ctx->thread_hash, ref->data, new, 1);
}
else {
if (new->duplicate_thread)
new = new->parent;
if (is_descendant (new, thread)) /* no loops! */