Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
diff VSs.c @ 11:ed268fc7376a
minor fixes
| author | Nina Engelhardt <nengel@mailbox.tu-berlin.de> |
|---|---|
| date | Wed, 15 Aug 2012 17:05:02 +0200 |
| parents | 832bc715fbf2 |
| children | f56e3beac86b |
line diff
1.1 --- a/VSs.c Mon Aug 06 01:14:41 2012 -0700 1.2 +++ b/VSs.c Wed Aug 15 17:05:02 2012 +0200 1.3 @@ -96,7 +96,7 @@ 1.4 parentTaskStub = create_thread_task_stub( NULL ); 1.5 parentTaskStub->isEnded = TRUE; 1.6 parentTaskStub->numLiveChildThreads = 1; //so dissipate works for seed 1.7 - threadTaskStub->parentTasksStub = parentTaskStub; 1.8 + threadTaskStub->parentTaskStub = parentTaskStub; 1.9 1.10 semData = (VSsSemData *)seedSlv->semanticData; 1.11 //seedVP is a thread, so has a permanent task 1.12 @@ -431,13 +431,6 @@ 1.13 VSs__end_thread( SlaveVP *thdToEnd ) 1.14 { VSsSemData *semData; 1.15 1.16 - //check whether all sub-tasks have ended.. if not, don't free the 1.17 - // semantic data nor task stub of this thread. 1.18 - semData = (VSsSemData *)thdToEnd->semanticData; 1.19 - if( semData->taskStub->numLiveChildTasks != 0 ) 1.20 - { 1.21 - fix_me(); 1.22 - } 1.23 1.24 //Update the count of live sub-tasks in parent. If parent was a 1.25 // thread and has already ended, then if this was the last sub-task,
