User Tools

Site Tools


cdc:nos2.source:nam5871:cssdpe

CSSDPE

Table Of Contents

  • [00006] PROC CSSDPE
  • [00007] CSSDPE - DISPATCH PROTOCOL EVENT QUEUE ENTRIES.
  • [00010] DISPATCH PROTOCOL EVENT QUEUE ENTRIES.
  • [00030] PROC CSSANO
  • [00031] PROC CSSICT
  • [00032] PROC CSSTNO
  • [00033] PROC CSSUPL
  • [00034] PROC SSTRQE

Source Code

CSSDPE.txt
  1. *DECK CSSDPE
  2. USETEXT TEXTCS
  3. USETEXT TEXTSS
  4. USETEXT TXTAPSS
  5. USETEXT TXTSMCS
  6. PROC CSSDPE;
  7. # TITLE CSSDPE - DISPATCH PROTOCOL EVENT QUEUE ENTRIES. #
  8. BEGIN # CSSDPE #
  9. #
  10. ** CSSDPE - DISPATCH PROTOCOL EVENT QUEUE ENTRIES.
  11. *
  12. * D.K. ENDO 82/03/08
  13. *
  14. * THIS PROCEDURE ROUTES ENTRIES IN THE PROTOCOL EVENT QUEUE TO THE
  15. * APPROPRIATE PROC IN ORDER TO TAKE ACTION ON EACH ONE.
  16. *
  17. * PROC CSSDPE
  18. *
  19. * ENTRY 1. THE PROTOCOL QUEUE CONTAINS ONE OR MORE ENTRIES
  20. *
  21. * EXIT 1. THE PROTOCOL EVENT QUEUE IS EMPTY.
  22. * 2. ENTRIES MADE IN THE APPROPRIATE QUEUES.
  23. *
  24. #
  25. #
  26. **** PROC CSSDPE - XREF LIST.
  27. #
  28. XREF
  29. BEGIN
  30. PROC CSSANO; # AQUIRE NEW OPERATOR #
  31. PROC CSSICT; # INITIATE CS TERMINATION #
  32. PROC CSSTNO; # TERMINATE AN OPERATOR #
  33. PROC CSSUPL; # UPDATE PAGE LENGTH #
  34. PROC SSTRQE; # REMOVE QUEUE ENTRY #
  35. END
  36. #
  37. ****
  38. #
  39. ITEM I; # LOOP INDUCTION VARIABLE #
  40. CONTROL EJECT;
  41. # #
  42. # CSSDPE CODE BEGINS HERE #
  43. # #
  44. FOR I=0 WHILE PEQL NQ 0
  45. DO
  46. BEGIN
  47. #
  48. * REMOVE EACH ENTRY IN THE PROTOCOL EVENT QUEUE AND CALL THE
  49. * APPROPRIATE PROCEDURE TO PROCESS THE ENTRY.
  50. #
  51. SSTRQE(P<PEQ>,WCBUF[0],ABH[0],CSSM[0]);
  52.  
  53. IF WCB$SMID[0] EQ SMID"HOPSTRT" OR
  54. WCB$SMID[0] EQ SMID"CONREQ"
  55. THEN
  56. BEGIN
  57. CSSANO;
  58. END
  59. ELSE IF WCB$SMID[0] EQ SMID"TCHTCH"
  60. THEN
  61. BEGIN
  62. CSSUPL;
  63. END
  64. ELSE IF WCB$SMID[0] EQ SMID"CONCB" OR
  65. WCB$SMID[0] EQ SMID"FCINA" OR
  66. WCB$SMID[0] EQ SMID"CONCBW"
  67. THEN
  68. BEGIN
  69. CSSTNO;
  70. END
  71. ELSE IF WCB$SMID[0] EQ SMID"SHUINS"
  72. THEN
  73. BEGIN
  74. CSSICT;
  75. END
  76. END
  77.  
  78. RETURN; # **** RETURN **** #
  79.  
  80. END #CSSDPE #
  81. TERM
cdc/nos2.source/nam5871/cssdpe.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator