How the Nasal GC works: Difference between revisions

Jump to navigation Jump to search
m
Line 17: Line 17:
A Nasal memory pool consists of memory blocks.
A Nasal memory pool consists of memory blocks.


A memory block is a singly linked list: https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line10
A memory block is a [http://en.wikipedia.org/wiki/Linked_list#Linear_and_circular_lists singly linked list]: https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line10
<syntaxhighlight lang="C">
<syntaxhighlight lang="C">
struct Block {
struct Block {

Navigation menu