pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:2610:    continue;    }    prev = key;    break;    }    }       key = OB2KEY(o);       if (prev) { +  /* Link after prev. */    key->mut = m;    add_ref (key->mutex_obj = Pike_fp->current_object);    key->prev = prev; -  if ((key->next = prev)) { +  if ((key->next = prev->next)) {    prev->next->prev = key;    }    prev->next = key;    key->kind = KEY_SHARED;    i=1;    } else if (!m->key || (m->key->kind < KEY_PENDING)) {    key->mut = m;    add_ref (key->mutex_obj = Pike_fp->current_object);    if ((key->next = m->key)) {    key->next->prev = key;