I am writing an application based on the goop architecture. The main object in my application has a data member that is an array of references to different objects. Each of these objects has a method named "Run" this method does all the work on the object and therefore does not finish running till the application terminates. I've started with using a call to the method from within a loop that runs though all the elements in the array, but that doesn't work because the Run method doesn't return and the call to the next object never takes place. The size of the array is not known till the application is run therefore it is not possible to hard code the calls to each of the objects. I've added a small exa
mple of the problem I have. If anyone has a solution to this problem or maybe a different approach to this design it will be much appreciated.