Hello, I am working on an OpenSG app, which has an OSC (OpenSoundControl) network interface to control the scene graph (like "show/hide node" or "transform node"). To speed it up I want to separate the main app loop and OSC handling in two different OpenSG threads. Problem is, I am not able to start the OSC handler thread with a another aspect than 0. The main thread works on aspect 0. When I create the second thread with
osc_thread = dynamic_cast<Thread *>(ThreadManager::the()->getThread("OSC thread")); osc_thread->runFunction(thread_func, 1, NULL); which should start the osc thread with aspect 1 and then call osc_thread->getAspect() it returns 0. ThreadManager::the()->getNumAspects() returns 2 and a value bigger 1 in runFunction for the aspect parameter leads, as it should, to an exception. Am I missing something? The tutorial doesn't help, it works on one aspect only. My last idea was to rebuild OpenSG with "--enable-pthread-elf-tls" which didn't help. I am using OpenSG 1.8 on Debian Linux 5.0. thanks for any help, thomas ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users