Hi Paul
you said................
<<If you're using an ExecutorService which you gave a list of tasks, then it has built-in methods to find out whether all of the tasks have completed and to wait for them all to complete. If you didn't use an ExecutorService, or some similar tool, then you really should use one, rather than trying to write your own version.
At least, it sounds like that's your actual problem; the recasting of it as trying to see the changing values of a variable is confusing and so maybe that's not your actual problem.>>
I do not know what an ExecutorService is
I am running simultaneous strategies on the Dukascopy Forex platform
At a certain point in the code I need to wait until I have received a message (or broadcast) from each of the other strategies before I continue with the code
The broadcast method is part of the Dukascopy API
Bob M