comparison VMS.c @ 120:d4c881c7f03a

Added fn to send inter-master requests, and cleaned up code
author Me@portablequad
date Sat, 03 Sep 2011 20:41:51 -0700
parents efb55f1b5fb9
children dbfc8382d546
comparison
equal deleted inserted replaced
46:3f533679a8b1 54:51d3a3122cce
495 callingPr->requests = &req; 495 callingPr->requests = &req;
496 496
497 VMS__suspend_procr( callingPr ); 497 VMS__suspend_procr( callingPr );
498 } 498 }
499 499
500 void inline
501 VMS__send_inter_plugin_req( void *reqData, int32 targetMaster,
502 VirtProcr *requestingMaster )
503 { _VMSMasterEnv->interMasterRequestsFor[targetMaster] =
504 (InterMasterReqst *) reqData;
505 }
506
507 void inline
508 VMS__send_inter_VMSCore_req( InterVMSCoreReqst *reqData,
509 int32 targetMaster, VirtProcr *requestingMaster )
510 { _VMSMasterEnv->interMasterRequestsFor[targetMaster] =
511 (InterMasterReqst *) reqData;
512 }
500 513
501 /* 514 /*
502 */ 515 */
503 VMSReqst * 516 VMSReqst *
504 VMS__take_next_request_out_of( VirtProcr *procrWithReq ) 517 VMS__take_next_request_out_of( VirtProcr *procrWithReq )