GDSX Manual
Service Routines
Extended General Device Support (GDSX) Manual–134303
8-56
PUTLOCALPOOL
address input
INT(32):value
is the relative extended address of the area to be deallocated. This parameter is
passed by value.
Example
INT .EXT PTR;
.
.
@PTR := GETEXTPOOL(N, WDS);
.
.
CALL PUTEXTPOOL(N, @PTR);
.
PUTLOCALPOOL
This procedure deallocates space obtained from any of the two local memory pools by a
call to GETLOCALPOOL.
For more information, see “Memory Pools” on page 2-24.
pool input
INT:value
indicates which local pool to deallocate space for. The value of pool is one of the
following:
buffer input
INT:ref
is a pointer to the area to be deallocated.
Example
INT .buf;
@buf := GETLOCALPOOL (0, 100);
.
CALL PUTLOCALPOOL (0, buf);
CALL PUTLOCALPOOL ( pool !
i
,buffer ); !
i
0 Local buffer pool
1 Local message pool