Hi all,a colleague of mine made the following test app to show what differences we are currently getting when calling viewer functions from multiple threads.
If you can run the test app and report your success on various OSs, especially Win and Mac it would be helpful.
The test app has 3 defines, each of which can be switched on and off (commented out) to select which operations are done in either the main or user threads.
#define INIT_VIEWER_IN_USER_THREAD #define ADD_VIEW_IN_USER_THREAD #define VIEWER_RUN_IN_USER_THREAD On Linux any combination works OK.On Windows XP it seems that the "add view" and "run" needs to happen in the same thread.
On Mac the "run" must happen in the main thread. The differences are causing us pain, any help/advice is appreciated. regards jp --This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.
osg_viewer_threading_test.tgz
Description: application/compressed-tar
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

