So if this is primarily for mobile devices, would that be useful info to add to the CMakeLists.txt file as the option documentation, so it pops up as a tool-tip? Something like this patch? https://github.com/rpavlik/osg/compare/openscenegraph:master...clarify-qthreads
Ryan On Wed, Jul 6, 2011 at 3:07 AM, George Bekos <[email protected]> wrote: > Thanks a lot for your answer dude! > > Cheers! > > > Wang Rui wrote: > > Hi George and Chris, > > > > The QThread support was submitted initially for the further migrating > > to Symbian and Meego. AFAIK, the Meego version of OSG is already > > workable in a Chinese lab. But I don't have a clear plan of when and > > how to merge it to the trunk version at present. > > > > And yes, until the 4.7 release, Qt doesn't support setting CPU > > affinity so far. And I'm not sure if Qt's threading model is safer or > > not. But at least, it should be a good start for porting OSG to > > another few mobile platforms. :-) > > > > Wang Rui > > > > > > 2011/7/5 Chris 'Xenon' Hanson <>: > > > > > On 7/5/2011 4:03 AM, George Bekos wrote: > > > > > > > Hello again guys! :D > > > > I want to ask you about this "BUILD_OPENTHREADS_WITH_QT" CMake flag > when you build OSG. From what I saw the only thing this flag does is to use > the Qt Threading library for OpenThreads. Are there any benefits from using > Qt Threading library over for example Win32 threads or pThreads? I > understand that Qt Threading library acts as an extra layer on top of some > other library (Win32threads,pThreads etc) depending on the platform. > > > > In our main application we use Qt Framework a lot for the GUI. > Building OpenThreads with Qt Thread support makes it any safer? Are there > evidence that I might have threading issues when I use OSG with Qt Framework > without OpenThreads Qt support enabled? > > > > > > > > > > I'm interested in this answer too. > > > > > > I seem to recall that Qt's threading library doesn't expose a CPU > affinity mask, which > > > OSG kind of likes. Is any of this true? > > > > -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University [email protected] http://academic.cleardefinition.com
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

