Gerrit Voß wrote:

> in addition for 2.x there already is a compile option,
> OSG_ENABLE_AUTOINIT_THREADS, which adds code to auto init the thread
> structures on demand. Off by default.
> 
> I'm currently looking into shifting this back into 1.x as some 
> people have problems with the java garbage collector when using
> java bindings as it seem to run arbitrary threads to clean up things.

FWIF, we've written some code that does this on every thread created 
using dllmain() and listening to ON_THREAD_ATTACH (on Windows).

Not on-demand as such, but its a good fix outside OpenSG.

Cheers
/Marcus


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to