comp.lang.ada
 help / color / mirror / Atom feed
From: ncohen@watson.ibm.com (Norman H. Cohen)
Subject: Re: [Q]: arrays into mmap'ed memory
Date: 1996/09/06
Date: 1996-09-06T00:00:00+00:00	[thread overview]
Message-ID: <50pvcv$1c0a@watnews1.watson.ibm.com> (raw)
In-Reply-To: ws968606kxa.fsf@schonberg.cs.nyu.edu


In article <ws968606kxa.fsf@schonberg.cs.nyu.edu>, guerby@gnat.com
(Laurent Guerby) writes: 

|>    Putting it all together with your comment on access to constrained
|> array, you can simply import mmap directly as returning the Ada access
|> type (using one mmap per acces type) and skip the System.Address
|> stage.

You seem to be assuming that the address returned by mmap has the same
representation as an Ada access type--a dangerous assumption.  The
purpose of instantiating Address_To_Access_Conversions is to avoid having
to make this assumption.

--
Norman H. Cohen    ncohen@watson.ibm.com




      reply	other threads:[~1996-09-06  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-28  0:00 [Q]: arrays into mmap'ed memory Jonas Nygren
1996-08-28  0:00 ` David C. Hoos, Sr.
1996-08-29  0:00 ` [Q]: " Jon S Anthony
1996-08-30  0:00 ` Norman H. Cohen
1996-08-31  0:00   ` Geert Bosch
1996-08-31  0:00 ` Laurent Guerby
1996-09-06  0:00   ` Norman H. Cohen [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