|
From: Timm D. <Tim...@Ig...> - 2008-06-06 16:00:14
|
Hy, i'd tryed to use some OpenSG 1.8 Image inside a Boost Thread and I always get a crash :( Example, inside some boost Thread: osg::ImagePtr blubber; (created, filled etc.) Int blah = blubber->getWidth(); << crash Stepped around a bit and found the source of the crash: OSGFieldContainerPtr::operator->::(getElemP(Thread::getAspect())) pUint = (UInt32 *) TlsGetValue(_aspectKey); return *pUint; Problem is, that *pUint is always 0 ans dereferencing 0 does not work :( Is there a workaround to use Boost Threads & OpenSG? Thanx Timm |