comp.lang.ada
 help / color / mirror / Atom feed
From: georg bauhaus <rmhost.bauhaus@maps.arcor.de>
Subject: Re: Interrupts handling in ADA
Date: 13 Dec 2011 23:32:06 GMT
Date: 2011-12-14T00:32:06+01:00	[thread overview]
Message-ID: <1121794873345508522.151628rmhost.bauhaus-maps.arcor.de@news.arcor.de> (raw)
In-Reply-To: 70e4b2ba-62c4-41d3-b603-a20e37d3d332@j9g2000vby.googlegroups.com

Ada BRL <ada.brl.2011@gmail.com> wrote:

> I've tried either with dll and lib but it hasn't worked...I've used
> pragma Import(Convention, Entity, External_name) because I've read to
> do so to link libraries into the Ada 95 programming book...
> I prefer to load a static library (lib) instead of a dll (I've read
> it's better for efficiency reasons); what I have to do, without pragma
> Import(...)?
>> 
>> The simplest way is to create a gpr-file for the external library and
>> include it into your Ada project using "with." GNAT knows what to do next.
> 
> How can I create a gpr file for the external library?
> What I have to code inside? I suppose it will be a .ads file that I'll
> link to the other ads and adb files.

Two notes about issues that are
different, really,linking and rendezvous.

1. Your GNAT installation includes a
User's guide. There is a section on
how to use DLLs, or, more generally,
parts of programs not written in Ada.
If you still want to try, it will explain
how to find link names in a Windows(TM)
environment.

2. Some imagery for rendezvous. Task
Client goes shopping, needing bread
and meat. So Client enters the queue
at the baker's or enters the queue at the
butcher's, but cannot enter both queues
at the same time.

Many clients may want bread. All of
them are at the baker's. This is why
there are queues. Staff will usually
serve clients one by one, in order of
arrival. Notice that while a client is
waiting at the baker's, he or she is
not at the same time waiting at the
butcher's.

Both the baker and the butcher may
have more than one queue and,
correspondingly, more entries: they
may meet persons other than customers.
For example, they may need to accept
delivery of an extra supply of flour, or
accept the newly sharpened knives,
usually at the back entrance.
Sales staff may also accept delivery
of daily mail. They will selectively 
accept orders or letters.



  parent reply	other threads:[~2011-12-13 23:32 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-10 20:43 Interrupts handling in ADA Ada @ BRL
2011-12-10 21:13 ` Vinzent Hoefler
2011-12-10 22:09 ` Niklas Holsti
2011-12-10 22:27 ` Simon Wright
2011-12-11 20:21   ` Martin Dowie
2011-12-13 13:51     ` Ada BRL
2011-12-13 23:18       ` Martin Dowie
2011-12-13 14:11     ` Niklas Holsti
2011-12-13 14:54       ` Simon Wright
2011-12-13 15:06         ` Ada BRL
2011-12-13 21:49           ` Niklas Holsti
2011-12-13 23:18       ` Martin Dowie
2011-12-13 12:47   ` Ada BRL
2011-12-13 15:07     ` Simon Wright
2011-12-13 15:23       ` Ada BRL
2011-12-13 18:14         ` Simon Wright
2011-12-13 18:56           ` Ada BRL
2011-12-13 19:56           ` Bill Findlay
2011-12-13 22:15         ` Niklas Holsti
2011-12-13 15:34       ` Simon Wright
2011-12-13 17:55         ` Ada BRL
2011-12-13 18:18           ` Dmitry A. Kazakov
2011-12-13 19:01             ` Ada BRL
2011-12-13 19:58               ` Dmitry A. Kazakov
2011-12-13 18:24           ` Simon Wright
2011-12-11  0:15 ` Jeffrey Carter
2011-12-13 12:53   ` Ada BRL
2011-12-11  9:23 ` Dmitry A. Kazakov
2011-12-13 13:11   ` Ada BRL
2011-12-13 14:04     ` Dmitry A. Kazakov
2011-12-13 14:51       ` Ada BRL
2011-12-13 15:02         ` Ada BRL
2011-12-13 15:39         ` Dmitry A. Kazakov
2011-12-13 18:51           ` Ada BRL
2011-12-13 19:51             ` Dmitry A. Kazakov
2011-12-13 23:32             ` georg bauhaus [this message]
2011-12-11 12:04 ` Georg Bauhaus
2011-12-13 14:08   ` Ada BRL
2011-12-12  3:19 ` anon
2011-12-12  9:12   ` Niklas Holsti
2011-12-13 13:36     ` Ada BRL
2011-12-12 15:23   ` björn lundin
2011-12-13 13:38     ` Ada BRL
2011-12-13 13:56       ` Ludovic Brenta
2011-12-13 14:10         ` Ada BRL
2011-12-13 13:31   ` Ada BRL
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox