On Sun, May 08, 2005 at 01:05:00PM +0200, Michael Schmitt wrote: > Asger Ottar Alstrup wrote: > > >> (There should be some assertions in the code that check that update > >>isn't executed twice simultaneously; this should be easily doable by > >>the introduction of a static variable that is incremented when > >>entering update and decrement when leaving update) > > > >There already is such an assert. It is based on a bool, not a counter. > >There was a patch to change it to a counter, but I think that is wrong. > > You are right. A boolean is enough. Are you sure that the assert is > already in the CVS repository?
It isn't, at least not in BufferView_pimpl::update(). There are some weaker asserts further down the pipeline. Andre'