Mercurial > flash_v2
diff packages/services/memalloc/common/current/cdl/memalloc.cdl @ 1687:eb235374a7ae
2004-06-24 Oyvind Harboe <oyvind.harboe@zylin.com>
* Added cyg_memalloc_alloc_fail() fn which is invoked before
return NULL from failed allocations. Useful breakpoint site.
Andrew Lunn wrote some of the code and pointed out various
wrinkles to be ironed out.
| author | asl |
|---|---|
| date | Mon, 05 Jul 2004 11:07:04 +0000 |
| parents | 8d76b6216102 |
| children |
line wrap: on
line diff
--- a/packages/services/memalloc/common/current/cdl/memalloc.cdl +++ b/packages/services/memalloc/common/current/cdl/memalloc.cdl @@ -56,7 +56,7 @@ cdl_package CYGPKG_MEMALLOC { interface. It also contains some sample implementations." include_dir cyg/memalloc compile dlmalloc.cxx memfixed.cxx memvar.cxx \ - sepmeta.cxx + sepmeta.cxx debug.c # ==================================================================== @@ -239,6 +239,15 @@ cdl_package CYGPKG_MEMALLOC { forces a NULL pointer to be returned." } + cdl_option CYGSEM_MEMALLOC_INVOKE_OUT_OF_MEMORY { + display "Breakpoint site when running out of memory" + default_value 0 + description " + Whenever the system runs out of memory, it invokes this function + before either going to sleep waiting for memory to become + available or returning failure." + } + cdl_component CYGPKG_MEMALLOC_MALLOC_ALLOCATORS { display "malloc() and supporting allocators" flavor bool
