Home | Previous Page | Next Page   Creating User-Defined Routines > Managing Memory >

In This Chapter

A C user-defined routine (UDR) has access to the following types of memory:

The DataBlade API provides functions to manage these types of memory.

Memory-Allocation Task DataBlade API Function
Allocation Deallocation Other
Shared memory
User memory mi_alloc( ),
mi_dalloc( ),
mi_realloc( )),
mi_zalloc( )
mi_free( ) mi_switch_mem_duration( )
Named memory mi_named_alloc( ),
mi_named_zalloc( )
mi_named_free( ) mi_named_get( ),
mi_lock_memory( ),
mi_try_lock_memory( ),
mi_unlock_memory( )
Stack memory for routine arguments mi_call( ) None None

This chapter describes each of these kinds of memory management in detail.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]