Stefan, Sorry for getting back late. I've narrowed down part of my issue here. It appears when my application starts up, it creates several objects of the same type inside of Window's configInit (one object per window). It seems only one object is registered properly to receive updates from the system (thus receiving the notifyNewHeadVersion call).
When I try to map in the object using VERSION_HEAD instead of the default, the
application hangs during the initialization. I instead made use of my delayed
synchronization system to explicitly call sync() after the application is fully
initialized, which seems to kick in the necessary state. Afterwards all
objects stay up to date as expected (they all have their notifyNewHeadVersion
function called). If you still want, I can try and put together a small demo
of this problem.
Thanks for your help,
Matthew
On Wednesday 30 June 2010 15:59:11 Stefan Eilemann wrote:
>
> Matthew,
>
> On 29. Jun 2010, at 17:48, matthew-11 [via Software] wrote:
>
> > In SVN head, notifyNewHeadVersion is only called in one object when
> > the data is updated. This code worked fine for both the 0.9 and
> > 0.9.1 releases. The object in question is the root of our visual
> > tree. It gets created between the server creating the configuration
> > (the server->chooseConfig call) and the configuration initialization
> > (the config->init call). The object is created on all nodes and
> > each copy is created within a node, but only one object per node
> > receives any updates.
>
> Are you sure? I just put notifyNewHeadVersion in eqPly::FrameData to
> print the current version, and I'm getting four prints with the
> default four-window config:
>
> 86415 2953981952 ./examples/eqPly/frameData.h:118 951 Got 6
> 86415 2953981952 ./examples/eqPly/frameData.h:118 951 Got 6
> 86415 2953981952 ./examples/eqPly/frameData.h:118 951 Got 6
> 86415 2953981952 ./examples/eqPly/frameData.h:118 951 Got 6
> 86415 2953981952 ./examples/eqPly/frameData.h:118 980 Got 7
> 86415 2953981952 ./examples/eqPly/frameData.h:118 980 Got 7
> 86415 2953981952 ./examples/eqPly/frameData.h:118 980 Got 7
> 86415 2953981952 ./examples/eqPly/frameData.h:118 980 Got 7
>
> Can you send a patch reproducing the bug in eqPly (or eqHello)?
>
>
> Cheers,
>
> Stefan.
>
> --- a/src/examples/eqPly/frameData.h
> +++ b/src/examples/eqPly/frameData.h
> @@ -114,6 +114,9 @@ namespace eqPly
> const std::string& getMessage() const { return _message; }
> //*}
>
> + virtual void notifyNewHeadVersion( const uint32_t version )
> + { EQINFO << "Got " << version << std::endl; }
> +
> protected:
> /** @sa Object::serialize() */
> virtual void serialize( eq::net::DataOStream& os,
>
>
>
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ eq-dev mailing list [email protected] http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

