0

If have I have a game engine that has multiple threads that all work with one scene graph, what are techniques to ensure everything is synchronized whenever that scene graph changes?

What kind of libraries are out there to help with that?

Thanks!

djcouchycouch
  • 12,724
  • 13
  • 69
  • 108

1 Answers1

1

See this question for a list of availiable synchronization primitives. What you need to use depends on what your threads do. How many threads read the graph? How many modify the graph? Do they operate on the same part of the graph or on distinct parts? If you provide some more details, I can give further suggestions.

Community
  • 1
  • 1
Daniel Brückner
  • 59,031
  • 16
  • 99
  • 143