GDSX Manual
Service Routines
Extended General Device Support (GDSX) Manual–134303
8-17
CHANGE^BUFF^OWNER[X]
Consideration
The tag parameter of ^CANCELTIMEOUT holds the address of the IOCB returned
when ^SIGNALTIMEOUT or ^SIGNALINTERRUPT was called. The tag parameter
is an INT(32) variable.
CHANGE^BUFF^OWNER[X]
This procedure gives the ownership of a local/extended buffer pool to another task.
buf input
INT : ref (Use with CHANGE^BUFF^OWNER)
INT .EXT : ref (Use with CHANGE^BUFF^OWNERX)
is a pointer to the pool whose ownership is to be changed.
newowner
INT(32) : value
is the TCB address of the task that is to become the new owner of the pool
Condition Code Settings
= CCE indicates that buffer ownership has changed.
< CCL indicates that the current task does not own the buffer or the buffer is invalid.
> CCG indicates either the TCB address of the newowner is invalid or this task is
not active.
CHECK^BUFFER^BOUNDS
This procedure ensures a buffer is in global (user^private) or extended memory, not in
the swappable stack.
status returned value
INT:value
indicates the outcome of the call. The value of status is one of the following:
CHANGE^BUFF^OWNER ( buf ! i
,newowner ); ! i
status := CHECK^BUFFER^BOUNDS ( buffer:length ); !
i:i
0 The buffer is valid
22 The buffer is in the swappable user stack