Hi Enrico,
did you call ChangeList::setReadWriteDefault() before osgInit in your
client and server app?
// OSG init
ChangeList::setReadWriteDefault();
osgInit(argc,argv);
Andreas
hi all,
i am still trying to make my cluster app working.
After the suggestion of matthias about getting rid of multicast proto,
i succesfully launched the two examples. Then i switched back to the app
i am struggling on and... surprise, it is not working.
Both client and server (as for now i am using just one server), are set
to use "StreamSock" and they seem to pass harmlessly the setup phase.
Everything hangs after the first rendering is issued. Here is my stepped
procedure:
CLIENT:
(mgr is a SimpleSceneManager and mwin is a MultiDisplayWindow)
...
mwin->setConnectionType("StreamSock");
...
mgr->redraw();
mwin->render(act);
-----> stepping into the rendering I reached OSGMultidiplayWindow.cpp,
line 351:
connection->wait();
*here hangs the client*
i assume that it is waiting the server to go on with his tasks and warn
back.
SERVER:
(server is a ClusterServer object)
server = new ClusterServer(window,name,"StreamSock","");
...
server->render(ract);
--> and again stepping i reach OSGClusterServer.cpp line 266:
_aspect->receiveSync(*_connection,applyToChangelist);
*and here it hangs the server too*
so it seems that the two programs are waiting each other in an infinite
deadlock. I looked back in the codes, but the apps worked before some
modifications in other part of the software, so, as long as the
clustering part was untouched, it should work.
Any clues?
thank you
enrico
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users