Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > Vthread_impls > Vthread_MC_shared_impl
diff Vthread.h @ 29:b94dc57e4455
refactored many files -- chgd names, moved code around -- doesn't compile
author | Some Random Person <seanhalle@yahoo.com> |
---|---|
date | Wed, 09 May 2012 13:24:19 -0700 |
parents | b3a881f25c5a |
children |
line diff
1.1 --- a/Vthread.h Sun Mar 04 14:29:42 2012 -0800 1.2 +++ b/Vthread.h Wed May 09 13:24:19 2012 -0700 1.3 @@ -23,7 +23,7 @@ 1.4 //=========================================================================== 1.5 //turn on the counter measurements of language overhead -- comment to turn off 1.6 #define MEAS__TURN_ON_LANG_MEAS 1.7 -#include "Vthread_Overhead_Meas.h" 1.8 +#include "Vthread__Measurement.h" 1.9 1.10 #define INIT_NUM_MUTEX 10000 1.11 #define INIT_NUM_COND 10000 1.12 @@ -159,12 +159,27 @@ 1.13 } 1.14 VthdSemEnv; 1.15 1.16 +//========================================================================== 1.17 + 1.18 +void 1.19 +Vthread__init(); 1.20 + 1.21 +void 1.22 +Vthread__init_Seq(); 1.23 + 1.24 +void 1.25 +Vthread__init_Helper(); 1.26 + 1.27 1.28 //=========================================================================== 1.29 1.30 inline void 1.31 Vthread__create_seed_slaveVP_and_do_work( TopLevelFnPtr fn, void *initData ); 1.32 1.33 +inline SlaveVP * 1.34 +Vthread__create_slaveVP_helper( TopLevelFnPtr fnPtr, void *initData, 1.35 + VthdSemEnv *semEnv, int32 coreToScheduleOnto ); 1.36 + 1.37 //======================= 1.38 1.39 inline SlaveVP *