Operation
The garbage collector works with most unmodified C programs, simply by replacing malloc with GC_MALLOC calls, replacing realloc with GC_REALLOC calls, and removing free calls. The code piece below shows how one can use Boehm instead of traditional malloc and free in C.
#includeRead more about this topic: Boehm Garbage Collector
Famous quotes containing the word operation:
“Human knowledge and human power meet in one; for where the cause is not known the effect cannot be produced. Nature to be commanded must be obeyed; and that which in contemplation is as the cause is in operation as the rule.”
—Francis Bacon (15601626)
“It is critical vision alone which can mitigate the unimpeded operation of the automatic.”
—Marshall McLuhan (19111980)