Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
comparison VSs.c @ 44:7e7f37aa2f61
fix barrier
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Tue, 11 Jun 2013 15:40:51 +0200 |
| parents | 8733d1299c3a |
| children | 19114b7a2357 |
comparison
equal
deleted
inserted
replaced
| 32:0af3770a84d0 | 33:b35d50d5ece3 |
|---|---|
| 210 VSs__init_counter_data_structs(); | 210 VSs__init_counter_data_structs(); |
| 211 #endif | 211 #endif |
| 212 | 212 |
| 213 //semanticEnv->shutdownInitiated = FALSE; | 213 //semanticEnv->shutdownInitiated = FALSE; |
| 214 semanticEnv->coreIsDone = VMS_int__malloc( NUM_CORES * sizeof( bool32 ) ); | 214 semanticEnv->coreIsDone = VMS_int__malloc( NUM_CORES * sizeof( bool32 ) ); |
| 215 semanticEnv->numCoresDone = 0; | |
| 216 //For each animation slot, there is an idle slave, and an initial | 215 //For each animation slot, there is an idle slave, and an initial |
| 217 // slave assigned as the current-task-slave. Create them here. | 216 // slave assigned as the current-task-slave. Create them here. |
| 218 SlaveVP *idleSlv, *slotTaskSlv; | 217 SlaveVP *idleSlv, *slotTaskSlv; |
| 219 for( coreNum = 0; coreNum < NUM_CORES; coreNum++ ) | 218 for( coreNum = 0; coreNum < NUM_CORES; coreNum++ ) |
| 220 { semanticEnv->coreIsDone[coreNum] = FALSE; //use during shutdown | 219 { semanticEnv->coreIsDone[coreNum] = FALSE; //use during shutdown |
