From: "Steve Doiel" <nospam_steved@pacifier.com>
Subject: Re: Ada to C++ communication under NT4.0
Date: 1998/08/10
Date: 1998-08-10T00:00:00+00:00 [thread overview]
Message-ID: <35cfa159.0@news.pacifier.com> (raw)
In-Reply-To: 01bdc494$f3eab0d0$0f010180@nc84c
Have a look at memory mapped files under NT. This is the way shared memory
is generally handled under NT.
SteveD
Mark wrote in message <01bdc494$f3eab0d0$0f010180@nc84c>...
>I am well aware that there is nothing magic about an Ada executable! The
>main question concerns a C application and an Ada application running under
>NT4.0 which require to share a large amount of data, therefore creating
>significant overhead in terms of speed and memory usage if sockets or
>mailboxes are used. Shared memory would seem the best option in this case.
> If using shared memory then one of the applications would allocate the
>address presumably, which the other would then overlay? If this was the
>case then would the passing of the address have to via mailboxes or sockets
>since a direct call would not be possible? Also, I am not sure how memory
>would be allocated in NT4.0. What happens when the memory is swapped to
>disk? Is all of this transparent to the application? Someone has
>suggested linking the two images together using our GNAT compiler. Is this
>possible? I would not have thought so since presumably the Ada and C
>applications would require separate run time systems to handle their
>tasking.
>
>More replies to newsgroup please.
>
>Mark
>
next prev parent reply other threads:[~1998-08-10 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <01bdc0c8$e8a76a80$0f010180@nc84c>
1998-08-05 0:00 ` Ada to C++ communication under NT4.0 vonhend
1998-08-10 0:00 ` Mark
1998-08-10 0:00 ` Steve Doiel [this message]
1998-08-13 0:00 ` Stephen Leake
1998-08-21 0:00 ` Gene Ouye
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox