Type ASSEMBLE
Source Lines : 176
Fixes Applied : 0
Most Recent Version : Thursday, December 7, 1978
Last Fix ID : [Unmodified]
Module
DMTGIV
Function
DMTGIV IS A SUPERVISOR SERVICE ROUTINE WHICH ENQUEUES GIVE REQUESTS FROM TASKS TO BE DELIVERED TO OTHER TASKS BY DMTAKE.
Attributes
REUSABLE, NON-INTERRUPTABLE
Operation
DMTGIV BEGINS PROCESSING BY SUSPENDING CALLING TASK EXECUTION THROUGH THE FREEZE SVC FUNCTION. A SUPERVISOR STATUS QUEUE ELEMENT IS GOTTEN THROUGH A CALL TO DMTQRQ, A GIVE REQUEST ELEMENT IS BUILT USING THE INFORMATION SUPPLIED BY THE CALLING TASK, AND THE ELEMENT IS ENQUEUED ON THE GIVE REQUEST QUEUE. THE ADDRESSED TASK IS LOCATED, AND IF ITS REQUEST ARRIVAL SYNCH LOCK IS NOT ALREADY POSTED, IT IS POSTED BY DMTGIV. CONTROL IS RETURNED TO THE DISPATCHER.
Calls to Other Routines
DMTQRQ - TO RESERVE AND RELEASE SUP QUEUE ELEMENTS DMTPST - TO NOTIFY A TASK OF REQUEST AVAILABILITY