Hello Carsten,

thanks for the fast reply.

>> - Can OpenSG handle threads that are not created by OpenSGs own
>> multithreading architecture?
>
> yes, but you have to tell OpenSG about the threads so that it can
> associate them with an OpenSG aspect.
> You can use this to register an external thread (call it from the
> thread): UInt32 aspectId = 0;
> ExternalThread::get(0)->initialize(aspectId);

This solves my problem and works fine. However, I just have another question 
because the pointer that is returned by ExternalThread::get(0) seems to 
change at every call.  Is there any memory allocated (that must be released) 
when calling this function? In my current implementation I have to call this 
function at every frame.

Best regards,
Rene 


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to