comparison AnimationMaster.c @ 288:c7142d15fc40

Switched order of lock release inside PR_SS end process normally
author Sean Halle <seanhalle@yahoo.com>
date Thu, 05 Sep 2013 18:05:11 -0700
parents 2fc69e6c14ea
children 744b5ff9851e
comparison
equal deleted inserted replaced
20:7d1faa0b41f5 23:c0bd243bbe3e
8 8
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <stddef.h> 10 #include <stddef.h>
11 11
12 #include "PR.h" 12 #include "PR.h"
13 #include "VSs_impl/VSs.h"
14 13
15 //========================= Local Declarations ======================== 14 //========================= Local Declarations ========================
16 inline PRProcess * 15 inline PRProcess *
17 pickAProcess( AnimSlot *slot ); 16 pickAProcess( AnimSlot *slot );
18 inline bool32 17 inline bool32
72 //NOTE: left over from when had a coreController & MasterVP managed 71 //NOTE: left over from when had a coreController & MasterVP managed
73 // several slots 72 // several slots
74 if( slot->workIsDone ) 73 if( slot->workIsDone )
75 { slot->workIsDone = FALSE; 74 { slot->workIsDone = FALSE;
76 slot->needsWorkAssigned = TRUE; 75 slot->needsWorkAssigned = TRUE;
77 printf("top handle request: %d | reqType: %d\n", slot->coreSlotIsOn, (int32)req->reqType );fflush(stdin); 76 //printf("top handle request: %d | reqType: %d\n", slot->coreSlotIsOn, (int32)req->reqType );fflush(stdin);
78 77
79 //An Idle VP has no request to handle, so skip to assign.. 78 //An Idle VP has no request to handle, so skip to assign..
80 if( slot->slaveAssignedToSlot->typeOfVP != IdleVP && 79 if( slot->slaveAssignedToSlot->typeOfVP != IdleVP &&
81 slot->slaveAssignedToSlot->typeOfVP != ShutdownVP) 80 slot->slaveAssignedToSlot->typeOfVP != ShutdownVP)
82 { 81 {