From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Global Varibles!!
Date: 1997/02/25
Date: 1997-02-25T00:00:00+00:00 [thread overview]
Message-ID: <dewar.856921192@merv> (raw)
In-Reply-To: 3313153F.15CB@watson.ibm.com
Norman said
<<This gives rise to the following question: In the absence of any
documentation to the contrary, should a package be assumed to be
task-safe or task-unsafe? A purist view is that all packages should be
assumed by default to be task-safe, and that the author of a task-unsafe
package should document the fact that the package is not task-safe. In
reality, many programmers implicitly regard a single-task program as the
"normal" case and a multitask program as an exotic special case.>>
Since Ada.Text_IO is clearly unsafe (it has naked global variables in
the spec), it seems reasonable to assume task-unsafe, but there is some
language in the RM that implies that the standard packages should be safe.
prev parent reply other threads:[~1997-02-25 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-19 0:00 Global Varibles!! Richard Pearce
1997-02-20 0:00 ` Matthew Heaney
1997-02-21 0:00 ` Norman H. Cohen
1997-02-23 0:00 ` Robert Dewar
1997-02-25 0:00 ` Norman H. Cohen
1997-02-25 0:00 ` Robert Dewar [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox