Crystal Space
Welcome, Guest. Please login or register.
November 23, 2014, 08:50:39 am

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2046 Topics by 9094 Members
Latest Member: Olafzjez
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  threads in Crystal Space
« previous next »
Pages: [1] Print
Author Topic: threads in Crystal Space  (Read 1407 times)
scandido
Newbie
*
Posts: 10


View Profile
« on: October 25, 2007, 09:53:16 pm »

Thanks in advance for any help you can provide.

I am developing an application where not all the program logic will be real-time. I'd like to generate movements for my meshes using an A* search, start moving and while the render loop is running to show the movements, start another A* search for the next set of movements. I think the right approach is to start a new thread for the A* search so the render loop and search can operate at the same time (or at least share the processor).

First of all, is my approach the correct one or is there something easier I'm not considering? I've found some references to thread classes in the online API but is there any tutorial or sample code I could view? Can someone give me a brief overview of the classes I need to use to start this new thread?

Thanks,
Sal
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 3.253 seconds with 16 queries.