"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "util/PulseNode.cpp" between
muscle7.61.zip and muscle7.62.zip

About: MUSCLE (Multi User Server Client Linking Environment) is a messaging server and networking API. The included server program ("muscled") lets its clients message each other, and/or store information in its serverside hierarchical database.

PulseNode.cpp  (muscle7.61):PulseNode.cpp  (muscle7.62)
skipping to change at line 167 skipping to change at line 167
else _firstChild[whichList] = child; // FogBu gz #4092(b) else _firstChild[whichList] = child; // FogBu gz #4092(b)
p->_prevSibling = child; p->_prevSibling = child;
} }
} }
else _firstChild[whichList] = _lastChild[whichList] = child; else _firstChild[whichList] = _lastChild[whichList] = child;
} }
break; break;
case LINKED_LIST_NEEDSRECALC: case LINKED_LIST_NEEDSRECALC:
if (_parent) _parent->ReschedulePulseChild(this, LINKED_LIST_NEEDSRE CALC); // if our child is rescheduled that reschedules us too! if (_parent) _parent->ReschedulePulseChild(this, LINKED_LIST_NEEDSRE CALC); // if our child is rescheduled that reschedules us too!
// fall through!
case LINKED_LIST_UNSCHEDULED: case LINKED_LIST_UNSCHEDULED:
{ {
// These lists are unsorted, so we can just quickly prepend the chil d to the head of the list // These lists are unsorted, so we can just quickly prepend the chil d to the head of the list
if (_firstChild[whichList]) if (_firstChild[whichList])
{ {
child->_nextSibling = _firstChild[whichList]; child->_nextSibling = _firstChild[whichList];
_firstChild[whichList]->_prevSibling = child; _firstChild[whichList]->_prevSibling = child;
_firstChild[whichList] = child; _firstChild[whichList] = child;
} }
else _firstChild[whichList] = _lastChild[whichList] = child; else _firstChild[whichList] = _lastChild[whichList] = child;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)