README for this branch

This commit is contained in:
Holger Vogt 2017-11-05 14:19:11 +01:00
parent 5a42a2b6f0
commit 279cec070c
1 changed files with 12 additions and 0 deletions

12
README.gc-local Normal file
View File

@ -0,0 +1,12 @@
Copyright 2017 Holger Vogt
New BSD license.
A local garbage collector, especially for shared ngspice (ngspice.dll)
Experimental, and not yet tested under LINUX.
All memory allocation and deallocation only via functions given in alloc.c.
Each time any memory is allocated, an entry is made into a hash table, storing the address.
Each time memory is freed, this entry is removed again. Reallocation uses both procedures.
Function mem_init() initializes the setup.
Function mem_delete() frees all memory with addresses still found in the hash table.