Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 40:16f6d7d5ef20 | 41:525e292942c3 |
|---|---|
| 236 } | 236 } |
| 237 | 237 |
| 238 void inline | 238 void inline |
| 239 handleInterVMSCoreReq( InterVMSCoreReqst *currReq, VirtProcr *masterPr ) | 239 handleInterVMSCoreReq( InterVMSCoreReqst *currReq, VirtProcr *masterPr ) |
| 240 { | 240 { |
| 241 switch( currReq->reqType ) | 241 switch( currReq->secondReqType ) |
| 242 { | 242 { |
| 243 case transfer_free_ptr: | 243 case transfer_free_ptr: |
| 244 handleTransferFree( currReq, masterPr ); | 244 handleTransferFree( currReq, masterPr ); |
| 245 currReq->obsolete = 1; //now the sender can free the structure | 245 currReq->obsolete = 1; //now the sender can free the structure |
| 246 break; | 246 break; |
| 247 case shutdownVP: | |
| 248 currReq->obsolete = 1; | |
| 249 handleShutdown(currReq, masterPr); | |
| 250 //The Execution of the MasterLoop ends here | |
| 251 break; | |
| 247 default: | 252 default: |
| 248 break; | 253 break; |
| 249 } | 254 } |
| 250 } | 255 } |
| 251 | 256 |
