<< SL_MHLock | SL_CreateRequester >> |
Top: Documentation Library | Up: SoftLogik App Library API |
SL_MHUnlock
NAME
SL_MHUnlock -- unlocks a memory handle locked by SL_MHLock.
SYNOPSIS
SL_MHUnlock(memhandle);
A0
void SL_MHUnlock(MEMHANDLE);
FUNCTION
Unlocks the memory handle locked by SL_MHLock. Each time a memory handle is locked its lock count increases by 1. Unlocking a memory handle decreases its lock count by 1. Only when the lock count is zero is the memory handle unlocked. The OS is then free to move or purge the memory handle.
Once a memory handle is completely unlocked (lock count is zero) the pointer returned by SL_MHLock is invalid and should not be used.
INPUTS
memhandle - as returned by SL_MHAlloc.
SEE ALSO
SL_MHAlloc, SL_MHFree, SL_MHGrow, SL_MHShrink, SL_MHRealloc, SL_MHLock, SL_SetMHAttr, SL_GetMHAttr.
SL_MHUnlock Command Section By Type url:SL_MHUnlock
created:2008-03-01 23:36:26 last updated:2008-03-01 23:36:26
Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.
User Contributed Comments For SL_MHUnlock | sign in to add a comment |
There are no user contributed comments for this page. |
<< SL_MHLock | SL_CreateRequester >> |
Top: Documentation Library | Up: SoftLogik App Library API |