changeset 56:420a09d3f32a

changed sem-lib interface for dissipating to send_dissipate_req
author Me
date Thu, 04 Nov 2010 17:57:39 -0700
parents f59cfa31a579
children 85b731b290f8
files CoreLoop.c VMS.c VMS.h
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line diff
     1.1 --- a/CoreLoop.c	Sat Oct 30 21:53:55 2010 -0700
     1.2 +++ b/CoreLoop.c	Thu Nov 04 17:57:39 2010 -0700
     1.3 @@ -158,7 +158,7 @@
     1.4     CoreLoopEndPt:
     1.5        //first free shutdown VP that jumped here -- it first restores the
     1.6        // coreloop's stack, so addr of currPr in stack frame is still correct
     1.7 -   VMS__handle_dissipate_reqst( currPr );
     1.8 +   VMS__dissipate_procr( currPr );
     1.9     pthread_exit( NULL );
    1.10   }
    1.11  
    1.12 @@ -259,6 +259,6 @@
    1.13        // all the threads to die will proceed, gather the result, and
    1.14        // return to the calling application.
    1.15  SeqCoreLoopEndPt:
    1.16 -   VMS__handle_dissipate_reqst( currPr ); //free shutdown pr, that jmpd here
    1.17 +   VMS__dissipate_procr( currPr ); //free shutdown pr, that jmpd here
    1.18     return;
    1.19   }
     2.1 --- a/VMS.c	Sat Oct 30 21:53:55 2010 -0700
     2.2 +++ b/VMS.c	Thu Nov 04 17:57:39 2010 -0700
     2.3 @@ -445,7 +445,7 @@
     2.4   * pears -- making that suspend the last thing in the virt procr's trace.
     2.5   */
     2.6  void
     2.7 -VMS__dissipate_procr( VirtProcr *procrToDissipate )
     2.8 +VMS__send_dissipate_req( VirtProcr *procrToDissipate )
     2.9   { VMSReqst req;
    2.10  
    2.11     req.reqType                = dissipate;
    2.12 @@ -601,7 +601,7 @@
    2.13   * of dis-owning it.
    2.14   */
    2.15  void
    2.16 -VMS__handle_dissipate_reqst( VirtProcr *animatingPr )
    2.17 +VMS__dissipate_procr( VirtProcr *animatingPr )
    2.18   {
    2.19        //dis-own all locations owned by this processor, causing to be freed
    2.20        // any locations that it is (was) sole owner of
     3.1 --- a/VMS.h	Sat Oct 30 21:53:55 2010 -0700
     3.2 +++ b/VMS.h	Thu Nov 04 17:57:39 2010 -0700
     3.3 @@ -314,10 +314,10 @@
     3.4  //==========================
     3.5  
     3.6  void inline
     3.7 -VMS__dissipate_procr( VirtProcr *prToDissipate );
     3.8 +VMS__send_dissipate_req( VirtProcr *prToDissipate );
     3.9  
    3.10  void
    3.11 -VMS__handle_dissipate_reqst( VirtProcr *procrToDissipate );
    3.12 +VMS__dissipate_procr( VirtProcr *procrToDissipate );
    3.13  
    3.14  
    3.15