How the Nasal GC works: Difference between revisions

Jump to navigation Jump to search
Line 62: Line 62:
   | date  = Mar 26th, 2011
   | date  = Mar 26th, 2011
   | added  = Mar 26th, 2011
   | added  = Mar 26th, 2011
  | script_version = 0.23
  }}
}}
{{FGCquote
|1= There were some serious issues with my patch - namely that the destruction of some C++ side FG objects kept alive by Nasal references must not be invoked on a different thread. I didn't see the crashes, but they appeared for people using Canvas heavy aircraft.
James did some work to fix these problems but I'm not sure how completely he managed. I still run the patch with his updates, however, and for the aircraft (I don't think I use any canvases, though) I use it works.
Running the Nasal GC in a different thread could certainly be revisited, and if the GC updated to an incremental one it could be done without impacting the main loop much.
|2= {{cite web
  | url    = http://forum.flightgear.org/viewtopic.php?p=265773#p265773
  | title  = <nowiki>Re: the real cost of the Nasal Garbage Collector</nowiki>
  | author = <nowiki>AndersG</nowiki>
  | date  = Nov 24th, 2015
  | added  = Nov 24th, 2015
   | script_version = 0.23
   | script_version = 0.23
   }}
   }}

Navigation menu