comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Parallel Processing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Parallel Processing [message #84683 is a reply to message #80624] Thu, 05 July 2012 07:50 Go to previous message
stefan.meingast is currently offline  stefan.meingast
Messages: 30
Registered: June 2012
Member
Hi

Now that I have successfully implemented multi-threading another prblem occured:

To invoke multiple processes is start in a loop with

bridges[i]->EXECUTE, 'program,par1,par2', /NOWAIT

where bridges is an object-array which holds the different child processes.
Upon the execution of the last process I do

bridges[i]->EXECUTE, 'program,par3,par4'

And after that I destroy my bridges in a loop.

Now I have a problem if the last process finishes before one of the previous since upon its completion it will directly move to the part where all bridges are destroyed and kills my program...

Is there an easy way to tell IDL to wait for all my processes to finish and then destroy the bridges?

thanks
Stefan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Upgrade IDL
Next Topic: Function graphics equivalent of !X.OMARGIN?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:27:48 PDT 2025

Total time taken to generate the page: 0.00483 seconds