From: "REH" <spamjunk@stny.rr.com>
Subject: Re: aliased and parameters
Date: 31 Jul 2006 12:26:16 -0700
Date: 2006-07-31T12:26:16-07:00 [thread overview]
Message-ID: <1154373975.951370.77770@b28g2000cwb.googlegroups.com> (raw)
In-Reply-To: <1154373046.777655.292010@m79g2000cwm.googlegroups.com>
randomm@mindless.com wrote:
> X-No-Archive: Yes
>
> > Thanks Jeff. recv is the standard POSIX (or BSD) socket receive
> > function. It takes a pointer. Yes, I could use an array (as I could
> > still map it to a C pointer). The problem with this is I either have
> > to move the data from its "normal" type into the array (excessive data
> > movement) or I have to map the array over top of my data (which gets us
> > right back to using 'Address).
> >
> > REH
>
> What about using pragma volatile(Hdr)? If I understand correctly, it
> may be the answer here. See RM95 C.6.
>
> Regards,
> Randall
Great! Can I use that on a subprogram parameter. Like this?
procedure Foo(X : out Integer) is
pragma Volatile(X);
begin
...
REH
next prev parent reply other threads:[~2006-07-31 19:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-31 18:05 aliased and parameters REH
2006-07-31 18:37 ` Jeffrey R. Carter
2006-07-31 19:02 ` REH
[not found] ` <1154373046.777655.292010@m79g2000cwm.googlegroups.com>
2006-07-31 19:26 ` REH [this message]
2006-07-31 19:59 ` REH
2006-07-31 21:52 ` Björn Persson
2006-08-01 0:35 ` REH
2006-08-01 1:31 ` Jeffrey R. Carter
2006-08-01 2:28 ` REH
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox