VMS/VMS_Implementations/SSR_impls/SSR__MC_shared_impl

diff SSR_Request_Handlers.c @ 77:833b31a8abc1

working version (w/ old hash impl)
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Tue, 28 Aug 2012 13:40:07 +0200
parents 6647aea90477
children 494703aecda2
line diff
     1.1 --- a/SSR_Request_Handlers.c	Sun Jul 15 02:03:43 2012 -0700
     1.2 +++ b/SSR_Request_Handlers.c	Tue Aug 28 13:40:07 2012 +0200
     1.3 @@ -428,7 +428,9 @@
     1.4   { void *ptr;
     1.5   
     1.6        DEBUG__printf1(dbgRqstHdlr,"Malloc request from processor %d",requestingPr->slaveID)
     1.7 -//      semEnv->lastReqType = 1;
     1.8 +#ifdef HOLISTIC__TURN_ON_OBSERVE_UCC
     1.9 +      semEnv->lastReqType = 1;
    1.10 +#endif
    1.11     ptr = VMS_PI__malloc( semReq->sizeToMalloc );
    1.12     requestingPr->dataRetFromReq = ptr;
    1.13     resume_slaveVP( requestingPr, semEnv );
    1.14 @@ -440,7 +442,9 @@
    1.15  handleFree( SSRSemReq *semReq, SlaveVP *requestingPr, SSRSemEnv *semEnv )
    1.16   {
    1.17           DEBUG__printf1(dbgRqstHdlr,"Free request from processor %d",requestingPr->slaveID)
    1.18 -//         semEnv->lastReqType = 1;
    1.19 +#ifdef HOLISTIC__TURN_ON_OBSERVE_UCC
    1.20 +         semEnv->lastReqType = 1;
    1.21 +#endif
    1.22     VMS_PI__free( semReq->ptrToFree );     
    1.23     resume_slaveVP( requestingPr, semEnv );
    1.24   }