Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 104:66d5379f452f | 105:8b9169868d80 |
|---|---|
| 199 | 199 |
| 200 //======================= OS Thread related =============================== | 200 //======================= OS Thread related =============================== |
| 201 | 201 |
| 202 void * coreController( void *paramsIn ); //standard PThreads fn prototype | 202 void * coreController( void *paramsIn ); //standard PThreads fn prototype |
| 203 void * coreCtlr_Seq( void *paramsIn ); //standard PThreads fn prototype | 203 void * coreCtlr_Seq( void *paramsIn ); //standard PThreads fn prototype |
| 204 void masterLoop( void *initData, SlaveVP *masterVP ); | 204 void schedulingMaster( void *initData, SlaveVP *masterVP ); |
| 205 | 205 |
| 206 | 206 |
| 207 typedef struct | 207 typedef struct |
| 208 { | 208 { |
| 209 void *endThdPt; | 209 void *endThdPt; |
| 213 | 213 |
| 214 //============================= Global Vars ================================ | 214 //============================= Global Vars ================================ |
| 215 | 215 |
| 216 volatile MasterEnv *_VMSMasterEnv __align_to_cacheline__; | 216 volatile MasterEnv *_VMSMasterEnv __align_to_cacheline__; |
| 217 | 217 |
| 218 pthread_t coreCtlrThdHandles[ NUM_CORES ]; //pthread's virt-procr state | 218 pthread_t coreCtlrThdHandles[ NUM_CORES ]; //pthread's virt-procr state |
| 219 ThdParams *coreCtlrThdParams [ NUM_CORES ]; | 219 ThdParams *coreCtlrThdParams [ NUM_CORES ]; |
| 220 pthread_mutex_t suspendLock = PTHREAD_MUTEX_INITIALIZER; | 220 |
| 221 pthread_cond_t suspendCond = PTHREAD_COND_INITIALIZER; | 221 pthread_mutex_t suspendLock; |
| 222 pthread_cond_t suspendCond; | |
| 222 | 223 |
| 223 //========================= Function Prototypes =========================== | 224 //========================= Function Prototypes =========================== |
| 224 | 225 |
| 225 /* MEANING OF WL PI SS int | 226 /* MEANING OF WL PI SS int |
| 226 * These indicate which places the function is safe to use. They stand for: | 227 * These indicate which places the function is safe to use. They stand for: |
