Hi, On Tue, 2009-03-24 at 10:19 -0500, Dirk Reiners wrote: > Hi Gerrit, > > Gerrit Voß wrote: > > > > hmm, I would not expect problems with the aspect store as they are > > only written on two occasions, during the initial creation and > > during sync. There should be no interference during both times > > as nobody can access it during the initial creation and while > > syncing everything must be stopped and waiting for the sync > > to happen anyway. Meddling with containers while they > > are synchronized is not safe. > > That raises an interesting question though: What about involuntary meddling > via > dependent data invalidation or other things that happen in changed()? E.g. > thread A changes a Geometry down the tree, while thread B is syncing a higher > up > node. > > Looks like we need to have a slightly stronger rule for different threads on > one > aspect: they have to work on disconnected trees. Allen's code does that > already, > so it's probably not their problem, but in general that might be an issue.
Not if we can avoid that, what I would like to achieve would still be the old on separate subtrees. Should these be connected by a common node OpenSG should be able to handle this, which means we have to be able to serialize what happens during particular changes that can traverse up the tree or propagate to rather unrelated containers (window). Currently I only can come up with the volume and glObject invalidation. I'll see if I can squeeze in a cheap spinlock, some atomic modification for the volume state and an early out for the up-tree traversal when invalidating volumes. For the window side I have to think about the details, but I hope locking the change entry parts should help at least for the assert failure Aron is seeing. kind regards, gerrit ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
