TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-type:
TEXT/PLAIN; CHARSET=US-ASCII
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Subject:
From:
Date:
Tue, 5 Dec 2000 09:40:21 +0000
In-Reply-To:
MIME-version:
1.0
Reply-To:
Parts/Attachments:
TEXT/PLAIN (20 lines)
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
know
> 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).

John

ATOM RSS1 RSS2