Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (G-N)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
6-10
HALTPOLL 
Stops continuous polling.
HEADROOM_ENSURE_
Allows you to check that the current stack has enough room for the needs of your 
process. This procedure can help you, for example, when specifying parameters for the 
PROCESS_LAUNCH_ procedure.
CALL HALTPOLL ( filenum );
filenum, INT:value input
< (CCL) An error occurred (call FILEINFO).
= (CCE) The HALTPOLL procedure executed successfully.
Note. This procedure can be called only from a TNS/R native process.  Its pTAL syntax is 
declared only in the EXTDECS0 file.
ret-val := HEADROOM_ENSURE_ ( room ); 
ret-val, INT(32) returned value
0D Either the requested space already exists in the stack space or the stack space was 
successfully enlarged to make enough room for the request.
5D The request would have exceeded the maximum stack size.
6D The stack pointer is invalid.
7D The stack pointer does not address a main stack or a privileged stack.
36D The system was unable to allocate memory.
43D The system was unable to obtain swap space.
45D The Kernel Managed Swap Facility (KMSF) was unable to obtain swap space.
room, INT(32):value input










