Re: save statement in a module
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Wed, 25 Jun 2008 01:27:37 -0800
David Thompson wrote:
(snip, I wrote)
Just to complicate things more, some versions of unix have
the 'sticky bit':
http://en.wikipedia.org/wiki/Sticky_bit
In this case, static storage of a program does not go away
when the program finishes, but stays around in swap space. If the
program is run again, previous values for such static data will
still be available.
I don't think so. What wikipedia says, and what I remember, is that
sticky is only for pure text aka code, and possibly pure = readonly
data. But Fortran (standardly) has no way of making _variables_
readonly.
Well, I am sure Fortran doesn't have standard ways for two tasks
to share the same storage and properly update shared data.
It seems that it might be TOPS-10 (The DEC OS for the PDP-10)
that I was remembering. I am told that it does have that ability
(and does run Fortran). I don't know if the sticky bit could
be misused for this feature, or not.
-- glen
.
- References:
- Re: save statement in a module
- From: Craig Powers
- Re: save statement in a module
- From: Richard Maine
- Re: save statement in a module
- From: Gib Bogle
- Re: save statement in a module
- From: James Giles
- Re: save statement in a module
- From: Ron Ford
- Re: save statement in a module
- From: glen herrmannsfeldt
- Re: save statement in a module
- From: Richard Maine
- Re: save statement in a module
- From: glen herrmannsfeldt
- Re: save statement in a module
- From: Richard Maine
- Re: save statement in a module
- From: glen herrmannsfeldt
- Re: save statement in a module
- From: David Thompson
- Re: save statement in a module
- Prev by Date: Re: Fortran Debugger help for a newbie using Windows
- Next by Date: Re: newbie: rotate 2D array
- Previous by thread: Re: save statement in a module
- Next by thread: Re: save statement in a module
- Index(es):
Relevant Pages
|
|