Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-273
PUTPOOL Procedure
(Superseded by POOL_* Procedures)
pool-block input
STRING .EXT:ref:*
is the address of the block to be returned to the pool.
Condition Code Settings
< (CCL) indicates that the data structures are invalid or that pool-block is not a
block in the buffer pool.
= (CCE) indicates that the operation is successful.
> (CCG) is not returned from PUTPOOL.
Considerations
GETPOOL and PUTPOOL do not check pool data structures on each call. A process
that destroys data structures can fail on a call to GETPOOL or PUTPOOL: a Guardian
TNS process can get an instruction failure trap (trap 1) or an invalid address reference
trap (trap 0); an OSS or native process can receive a SIGILL or SIGSEGV signal.
Example
CALL PUTPOOL ( pool^head, pblock );
pool^head is the pool head of the pool from which the block of memory was obtained,
and
PBLOCK is the block to be returned to the pool.
Related Programming Manual
For programming information about the PUTPOOL memory-management procedure,
refer to the
Guardian Programmer’s Guide.