static void unlockMemorizedNodes() { SmallNodeList *list; while (nodePile) { list = nodePile; nodePile = list->next; setSingleNodeStatus(list->node, false); deallocateSmallNodeList(list); } }
static void unMemorizeNodes(SmallNodeList ** nodePile) { SmallNodeList * list; while (*nodePile) { list = *nodePile; *nodePile = list->next; #ifndef OPENMP setSingleNodeStatus(list->node, false); #endif deallocateSmallNodeList(list); } }