Stephane Richard wrote:
> But the fact of the matter remains, I need
> lists of data, an array or a linked list, whichever, and I need that list
> available throughout the rest of the packages somehow.
> Now instead of stopping your comment at telling me that this design is
> bad, that global variables bring global famine, let me assure you that list I
> am talking about is NOT a food shopping list :-). Why dont you detail
> yourself and bring me the other alternatives and possible solutions. If you
> of a way to obtain this availability without the use of global variables then
> please, by all means, do let me know so that I may do this the right way.
Another question is whether the list(s) are accessed by tasks (I seem to
remember you mentioned you have 5 packages which each perform a specific task.
In the context, it didn't sound like you meant task as in Ada task). If they
are, you probably want to use (a) protected object(s).