Type ASSEMBLE
Source Lines : 94
Fixes Applied : 0
Most Recent Version : Tuesday, December 12, 1978
Last Fix ID : [Unmodified]
Function
TO CAUSE THE CALLING PROGRAM TO WAIT UNTIL ALL TERMINAL I/O OPERATIONS HAVE BEEN COMPLETED.
Attributes
REENTRANT, NUCLEUS RESIDENT, CALLED BY SVC
Operation
DMSCWT CHECKS THE NUMBER OF PENDING READS AND PENDING WRITES. IF BOTH ARE NOT ZERO, DMSCWT BALR'S TO ROUTINE DMSWAT TO WAIT UNTIL A TERMINAL I/O OPERATION IS COMPLETED. UPON RETURN FROM DMSWAT, DMSCWT AGAIN CHECKS THE NUMBER OF PENDING READS AND PENDING WRITES. THIS PROCEDURE IS REPEATED UNTIL ALL TERMINAL I/O REQUESTS HAVE BEEN COMPLETED. AT THIS TIME, DMSCWT RETURNS TO THE CALLING ROUTINE.
Calls to Other Routines
DMSWAT - WAIT FOR I/O INTERRUPT