This page contains the discussions surrounding the problem if data is loaded and destroyed in parrallel many times by the same thread.

Simple Description


  • delete old tree
  • load new tree


  • sync changes from Thread1
  • draw

Problem 1 :

  • the sync Thread1 -> Thread2 overrides whatever changes Thread2 made to the gl status of the existing objects while drawing
  • Thread1 doing the delete is not aware of anything done by Thread2

Temp Solution :

  • Forbid any GL calls in Thread1
  • Make sure the GL stuff is destroyed per aspect.

Problem 2 :

  • Render parts (Thumbnails) in Thread1

Temp Solution :

  • ?
Last modified 7 years ago Last modified on 01/17/10 01:11:44