Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VSs_impls > VSs__MC_shared_impl
comparison VSs.c @ 14:b2bc97318262
bug fix -- always turn SlotTaskSlv into ExtraTaskSlv inside request handler
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 23 Aug 2012 01:27:26 -0700 |
| parents | f56e3beac86b |
| children | 459055db7fc0 |
comparison
equal
deleted
inserted
replaced
| 11:12ec511a6415 | 12:ba1be0a3f4b0 |
|---|---|
| 100 | 100 |
| 101 semData = (VSsSemData *)seedSlv->semanticData; | 101 semData = (VSsSemData *)seedSlv->semanticData; |
| 102 //seedVP is a thread, so has a permanent task | 102 //seedVP is a thread, so has a permanent task |
| 103 semData->needsTaskAssigned = FALSE; | 103 semData->needsTaskAssigned = FALSE; |
| 104 semData->taskStub = threadTaskStub; | 104 semData->taskStub = threadTaskStub; |
| 105 semData->slaveType = ThreadSlv; | |
| 105 | 106 |
| 106 resume_slaveVP( seedSlv, semEnv ); //returns right away, just queues Slv | 107 resume_slaveVP( seedSlv, semEnv ); //returns right away, just queues Slv |
| 107 | 108 |
| 108 VMS_SS__start_the_work_then_wait_until_done(); //normal multi-thd | 109 VMS_SS__start_the_work_then_wait_until_done(); //normal multi-thd |
| 109 | 110 |
