Hi Renan,

Multi-threading is big topic, and yes the OSG does support
multi-threading out of the box, but it there are constraints in how
you need to manage the threading.   Search through the archives on
this topic to get a flavour.

Personally I'd recommend using OpenThreads over native Windowing, as
not only is it more portable, it'll integrate better with OSG apps.  I
also have to recommend taking small steps at learning about threading.
 Threading is one of the most awkward topics in computing, there are
lots of issues that you don't see in single threading apps.

Robert.

On Tue, May 6, 2008 at 8:41 PM, Renan Mendes <[EMAIL PROTECTED]> wrote:
> Hi, everyone.
>
>        I've tried creating another thread in my application using the
> windows API (CreateThread, etc), but it seems that this thread has become a
> "main thread", i.e, my program is not working as a multithreaded
> application. In my case, this means that I'm not even displaying the OSG
> default screen - all I have is the prompt display, printing some information
> I wanted. Does OSG have support for multithreading? Or my problem is
> probably misuse of  multithreading?
>
>                 Thanks,
>
>                     Renan M Z Mendes
>
> _______________________________________________
>  osg-users mailing list
>  [email protected]
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to