Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

edwinnie

MultiThreading in games

This topic is 5310 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

okok, this is a simple qn: do u all use the main application thread for rendering, or do u use a separate thread for rendering? thx

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
yes

Share this post


Link to post
Share on other sites
erm...pardon me
ur yes implies which part?

1)do u all use the main application thread for rendering, or
2)do u use a separate thread for rendering?

thx alot!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
of course

Share this post


Link to post
Share on other sites
You could, but I don''t think it''s done very often. At least I don''t.
You would create threads for things that need to happen at the same time, like sounds/music.

Share this post


Link to post
Share on other sites
not for rendering but anyone use microthreads, im just reading through gems 2 and it looks like a neat technique (but not for rendering i wouldn''t think) anyone ever use it? only example i have ever seen is in gems.

Share this post


Link to post
Share on other sites
I have a kernel that runs tasks, and one of them is the renderer. I could have it set up so each major task runs in it''s own thread (I.E. the renderer, the music manager, the window, input, ect) and everything else is run right there when update is called. This way none of the major ones are affected by the other major ones, and the small ones really don''t care.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!