Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
comparison VSs.c @ 19:58a71af04cd1
version for Tamer
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 17 Sep 2012 11:07:07 +0200 |
| parents | f83fff8bd4b2 |
| children | a7ca8f45c1c4 |
comparison
equal
deleted
inserted
replaced
| 15:3c85692f1933 | 16:7b915ccda30c |
|---|---|
| 238 semanticEnv->argPtrHashTbl = makeHashTable32( 16, &VMS_int__free ); | 238 semanticEnv->argPtrHashTbl = makeHashTable32( 16, &VMS_int__free ); |
| 239 semanticEnv->commHashTbl = makeHashTable32( 16, &VMS_int__free ); | 239 semanticEnv->commHashTbl = makeHashTable32( 16, &VMS_int__free ); |
| 240 | 240 |
| 241 semanticEnv->nextCoreToGetNewSlv = 0; | 241 semanticEnv->nextCoreToGetNewSlv = 0; |
| 242 | 242 |
| 243 | 243 #ifdef EXTERNAL_SCHEDULER |
| 244 VSs__init_ext_scheduler(); | |
| 245 #endif | |
| 244 //TODO: bug -- turn these arrays into dyn arrays to eliminate limit | 246 //TODO: bug -- turn these arrays into dyn arrays to eliminate limit |
| 245 //semanticEnv->singletonHasBeenExecutedFlags = makeDynArrayInfo( ); | 247 //semanticEnv->singletonHasBeenExecutedFlags = makeDynArrayInfo( ); |
| 246 //semanticEnv->transactionStrucs = makeDynArrayInfo( ); | 248 //semanticEnv->transactionStrucs = makeDynArrayInfo( ); |
| 247 for( i = 0; i < NUM_STRUCS_IN_SEM_ENV; i++ ) | 249 for( i = 0; i < NUM_STRUCS_IN_SEM_ENV; i++ ) |
| 248 { | 250 { |
| 277 void | 279 void |
| 278 VSs__cleanup_after_shutdown() | 280 VSs__cleanup_after_shutdown() |
| 279 { VSsSemEnv *semanticEnv; | 281 { VSsSemEnv *semanticEnv; |
| 280 | 282 |
| 281 semanticEnv = _VMSMasterEnv->semanticEnv; | 283 semanticEnv = _VMSMasterEnv->semanticEnv; |
| 282 | |
| 283 #ifdef HOLISTIC__TURN_ON_OBSERVE_UCC | |
| 284 //UCC | |
| 285 FILE* output; | 284 FILE* output; |
| 286 int n; | 285 int n; |
| 287 char filename[255]; | 286 char filename[255]; |
| 287 #ifdef HOLISTIC__TURN_ON_OBSERVE_UCC | |
| 288 //UCC | |
| 288 for(n=0;n<255;n++) | 289 for(n=0;n<255;n++) |
| 289 { | 290 { |
| 290 sprintf(filename, "./counters/UCC.%d",n); | 291 sprintf(filename, "./counters/UCC.%d",n); |
| 291 output = fopen(filename,"r"); | 292 output = fopen(filename,"r"); |
| 292 if(output) | 293 if(output) |
