| HeapLock | Function (ROM Call 0x9A)

alloc.h

HANDLE HeapLock (HANDLE Handle);

Locks a block.

HeapLock locks the block referenced by Handle so that it is not moved during garbage collection. Returns Handle if OK, else returns H_NULL.
Note: Locking memory may cause the system to run out of usable memory sooner than if memory is kept unlocked.

Used by: HeapAllocHigh, HLock, cmd_blddata, cmd_dialog, cmd_get, cmd_newdata, cmd_request, cmd_send, cmd_sinreg, cmd_sorta, cmd_sortd, push_determinant, push_red_row_ech, push_row_echelon, push_simult, Dialog, DialogDo, LoadDLL, display_statements, index_below_display_expression_aux, NG_execute, NG_RPNToText, Parse1DExpr, Parse2DMultiExpr, EV_defaultHandler, handleRclKey, GR3_paint3d, gdb_recall, HomeExecute, LIO_Get, LIO_Receive, MenuBegin, PopupBegin, PopupBeginDo, PopupDo, TE_handleEvent, de_initRes, de_loop, did_push_var_val, does_push_fetch, EV_quit, GetStatValue, gr_ck_solvergraph, InitTimeSeq, NG_setup_graph_fun, PlotDup, push_ans_entry, push_sq_matrix_to_whole_number, push_user_func, recall_data_var, seqWebInit, setup_more_graph_fun, SP_Define, tokenize_if_TI_92_or_text, VarStoreLink, FolderOp, VarStore, ROM Call 0x438, ROM Call 0x494, ROM Call 0x495