Subject: Commit: Piece Table Undo/Redo Atomic Actions
From: Dom Lachowicz (doml@appligent.com)
Date: Fri Dec 07 2001 - 10:59:02 CST
Atomic Actions can be nested now, arbitrarily deep (well, ok, only 4.2
billion levels deep). This fixes bug 2314. What this means is that, say,
in FV_View.cpp you have this type of call chain:
void call1()
{
beginAtomicGlob();
// do some stuff
...
call someOtherFunction();
endAtomicGlob();
}
void someOtherFunction ()
{
beginAtomicGlob ();
// do some stuff
endAtomicGlob ();
}
now these get handled properly - i.e. now they're both part of the same
atomic glob instead of what we had before, which honestly should have
segfaulted or not undone properly.
Dom
This archive was generated by hypermail 2b25 : Fri Dec 07 2001 - 10:58:45 CST