Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
diff VSs.h @ 20:a7ca8f45c1c4
fix coding standard to work with -std=gnu99 -Wall
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Tue, 25 Sep 2012 16:12:40 +0200 |
| parents | 58a71af04cd1 |
| children | feea343d202f |
line diff
1.1 --- a/VSs.h Mon Sep 17 11:07:07 2012 +0200 1.2 +++ b/VSs.h Tue Sep 25 16:12:40 2012 +0200 1.3 @@ -19,8 +19,8 @@ 1.4 * But counter recording still functional, can build constraintless display 1.5 * with wallclock time 1.6 */ 1.7 -#define EXTERNAL_SCHEDULER 1.8 -#define SIMULATE_EXTERNAL_SCHEDULER 1.9 +//#define EXTERNAL_SCHEDULER 1.10 +//#define SIMULATE_EXTERNAL_SCHEDULER 1.11 1.12 //=========================================================================== 1.13 #define NUM_STRUCS_IN_SEM_ENV 1000 1.14 @@ -305,7 +305,7 @@ 1.15 void 1.16 VSs__submit_task( VSsTaskType *taskType, void *args, SlaveVP *animSlv); 1.17 1.18 -inline int32 * 1.19 +int32 * 1.20 VSs__create_taskID_of_size( int32 numInts, SlaveVP *animSlv ); 1.21 1.22 void 1.23 @@ -320,7 +320,7 @@ 1.24 VSs__taskwait(SlaveVP *animSlv); 1.25 1.26 1.27 -inline int32 * 1.28 +int32 * 1.29 VSs__give_self_taskID( SlaveVP *animSlv ); 1.30 1.31 void 1.32 @@ -386,6 +386,9 @@ 1.33 void 1.34 idle_fn(void* data, SlaveVP *animatingSlv); 1.35 1.36 +void 1.37 +resume_slaveVP(SlaveVP *slave, VSsSemEnv *semEnv); 1.38 + 1.39 //===================== Measurement of Lang Overheads ===================== 1.40 #include "Measurement/VSs_Measurement.h" 1.41
