rt.gc.basic.gc

This module contains the garbage collector front-end.

Members

Aliases

gc_t
alias gc_t = GC
Undocumented in source.
gc_t
alias gc_t = GC*
Undocumented in source.

Functions

_d_osx_image_init
void _d_osx_image_init()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
gc_addRange
void gc_addRange(void* p, size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_addRoot
void gc_addRoot(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_addrOf
void* gc_addrOf(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_calloc
void* gc_calloc(size_t sz, uint ba, PointerMap bitMask)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_clrAttr
uint gc_clrAttr(void* p, uint a)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_collect
void gc_collect()
Undocumented in source. Be warned that the author may not have intended to support it.
gc_disable
void gc_disable()
Undocumented in source. Be warned that the author may not have intended to support it.
gc_enable
void gc_enable()
Undocumented in source. Be warned that the author may not have intended to support it.
gc_extend
size_t gc_extend(void* p, size_t mx, size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_free
void gc_free(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_getAttr
uint gc_getAttr(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_getTermCleanupLevel
int gc_getTermCleanupLevel()

returns the cleanup level done by gc

gc_init
void gc_init()
Undocumented in source. Be warned that the author may not have intended to support it.
gc_malloc
void* gc_malloc(size_t sz, uint ba, PointerMap bitMask)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_minimize
void gc_minimize()
Undocumented in source. Be warned that the author may not have intended to support it.
gc_monitor
void gc_monitor(ddel begin, dint end)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_query
BlkInfo gc_query(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_realloc
void* gc_realloc(void* p, size_t sz, uint ba, PointerMap bitMask)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_removeRange
void gc_removeRange(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_removeRoot
void gc_removeRoot(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_reserve
size_t gc_reserve(size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_setAttr
uint gc_setAttr(void* p, uint a)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_setTermCleanupLevel
int gc_setTermCleanupLevel(int cLevel)

sets the cleanup level done by gc (0: none, 1: fullCollect, 2: fullCollectNoStack (might crash daemonThreads)) result !=0 if the value was invalid

gc_sizeOf
size_t gc_sizeOf(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_stats
GCStats gc_stats()
Undocumented in source. Be warned that the author may not have intended to support it.
gc_term
void gc_term()
Undocumented in source. Be warned that the author may not have intended to support it.
gc_weakpointerCreate
void* gc_weakpointerCreate(Object r)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_weakpointerDestroy
void gc_weakpointerDestroy(void* wp)
Undocumented in source. Be warned that the author may not have intended to support it.
gc_weakpointerGet
Object gc_weakpointerGet(void* wp)
Undocumented in source. Be warned that the author may not have intended to support it.
thread_init
void thread_init()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Variables

_gc
gc_t _gc;
Undocumented in source.

Meta

License

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, in both source and binary form, subject to the following restrictions:

o The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. o Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. o This notice may not be removed or altered from any source distribution.

Authors

Walter Bright, Sean Kelly, Kris