VMS/VMS_Implementations/SSR_impls/SSR__MC_shared_impl

changeset 76:6647aea90477 Holistic_Model

commented out uses of SemEnv->lastReqType .. wasn't compiling..
author Sean Halle <seanhalle@yahoo.com>
date Sun, 15 Jul 2012 02:03:43 -0700
parents 52a02c918db8
children 833b31a8abc1
files SSR_PluginFns.c SSR_Request_Handlers.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/SSR_PluginFns.c	Tue May 08 18:59:53 2012 +0200
     1.2 +++ b/SSR_PluginFns.c	Sun Jul 15 02:03:43 2012 -0700
     1.3 @@ -118,7 +118,7 @@
     1.4        
     1.5     while( req != NULL )
     1.6      {
     1.7 -          semEnv->lastReqType = 0;
     1.8 +//          semEnv->lastReqType = 0;
     1.9        switch( req->reqType )
    1.10         { case semantic:     handleSemReq(         req, requestingPr, semEnv);
    1.11              break;
     2.1 --- a/SSR_Request_Handlers.c	Tue May 08 18:59:53 2012 +0200
     2.2 +++ b/SSR_Request_Handlers.c	Sun Jul 15 02:03:43 2012 -0700
     2.3 @@ -428,7 +428,7 @@
     2.4   { void *ptr;
     2.5   
     2.6        DEBUG__printf1(dbgRqstHdlr,"Malloc request from processor %d",requestingPr->slaveID)
     2.7 -      semEnv->lastReqType = 1;
     2.8 +//      semEnv->lastReqType = 1;
     2.9     ptr = VMS_PI__malloc( semReq->sizeToMalloc );
    2.10     requestingPr->dataRetFromReq = ptr;
    2.11     resume_slaveVP( requestingPr, semEnv );
    2.12 @@ -440,7 +440,7 @@
    2.13  handleFree( SSRSemReq *semReq, SlaveVP *requestingPr, SSRSemEnv *semEnv )
    2.14   {
    2.15           DEBUG__printf1(dbgRqstHdlr,"Free request from processor %d",requestingPr->slaveID)
    2.16 -         semEnv->lastReqType = 1;
    2.17 +//         semEnv->lastReqType = 1;
    2.18     VMS_PI__free( semReq->ptrToFree );     
    2.19     resume_slaveVP( requestingPr, semEnv );
    2.20   }