Hi all,

I've never really used the parallel stuff for a "real" task and I'm trying 
to understand the Julian way of structuring my computation.

Heres the situation:

- I have a "main" loop that is solving a series of problems
- After solving one of these prolems, I sometimes want to solve an 
expensive subproblem that might improve the solution.
- I want to solve this subproblem in a separate process, and I don't need 
the answer right away.

Mentally I'm thinking of processor 1 running the main loop, and processor 2 
working on solving any subproblems I send its way (queueing them up 
perhaps).
At the end/start of every iteration of the main loop on processor 1 I'd 
"check" processor 2 to see if it has any solutions for me, and collect them 
if it has.

Can someone help me out with how I should be thinking of this?

Cheers,
Iain



Reply via email to