Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.h @ 222:c88ce1db91ef
Compiles, but does not run properly -- and changed MasterLoop to SchedulingMaster
| author | Some Random Person <seanhalle@yahoo.com> |
|---|---|
| date | Tue, 13 Mar 2012 10:02:06 -0700 |
| parents | 8059fb8d5465 |
| children | b0b93147adfb |
line diff
1.1 --- a/VMS.h Mon Mar 12 05:38:07 2012 -0700 1.2 +++ b/VMS.h Tue Mar 13 10:02:06 2012 -0700 1.3 @@ -201,7 +201,7 @@ 1.4 1.5 void * coreController( void *paramsIn ); //standard PThreads fn prototype 1.6 void * coreCtlr_Seq( void *paramsIn ); //standard PThreads fn prototype 1.7 -void masterLoop( void *initData, SlaveVP *masterVP ); 1.8 +void schedulingMaster( void *initData, SlaveVP *masterVP ); 1.9 1.10 1.11 typedef struct 1.12 @@ -215,10 +215,11 @@ 1.13 1.14 volatile MasterEnv *_VMSMasterEnv __align_to_cacheline__; 1.15 1.16 -pthread_t coreCtlrThdHandles[ NUM_CORES ]; //pthread's virt-procr state 1.17 +pthread_t coreCtlrThdHandles[ NUM_CORES ]; //pthread's virt-procr state 1.18 ThdParams *coreCtlrThdParams [ NUM_CORES ]; 1.19 -pthread_mutex_t suspendLock = PTHREAD_MUTEX_INITIALIZER; 1.20 -pthread_cond_t suspendCond = PTHREAD_COND_INITIALIZER; 1.21 + 1.22 +pthread_mutex_t suspendLock; 1.23 +pthread_cond_t suspendCond; 1.24 1.25 //========================= Function Prototypes =========================== 1.26
