I wanted to know why the removal processes in threads have two pointers set to the next
As this example given
void
remove (celula *p)
{
celula *lixo;
lixo = p->prox;
p->prox = lixo->prox;
free (lixo);
}
Because there's always something like "p-> prox = junk-> prox;"? Could you please explain to me?