Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff MasterLoop.c @ 137:99343ffe1918
The shutdown now uses inter master requests
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 19 Sep 2011 14:15:37 +0200 |
| parents | 0b49fd35afc1 |
| children | 2c8f3cf6c058 |
line diff
1.1 --- a/MasterLoop.c Fri Sep 16 20:13:33 2011 +0200 1.2 +++ b/MasterLoop.c Mon Sep 19 14:15:37 2011 +0200 1.3 @@ -238,12 +238,17 @@ 1.4 void inline 1.5 handleInterVMSCoreReq( InterVMSCoreReqst *currReq, VirtProcr *masterPr ) 1.6 { 1.7 - switch( currReq->reqType ) 1.8 + switch( currReq->secondReqType ) 1.9 { 1.10 case transfer_free_ptr: 1.11 handleTransferFree( currReq, masterPr ); 1.12 currReq->obsolete = 1; //now the sender can free the structure 1.13 break; 1.14 + case shutdownVP: 1.15 + currReq->obsolete = 1; 1.16 + handleShutdown(currReq, masterPr); 1.17 + //The Execution of the MasterLoop ends here 1.18 + break; 1.19 default: 1.20 break; 1.21 }
