comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: How to do multiple instances of a generic packages in automated way. (using ravenscar profile)
Date: Tue, 05 Apr 2016 20:39:57 +0100
Date: 2016-04-05T20:39:57+01:00	[thread overview]
Message-ID: <lyshyzu9o2.fsf@pushface.org> (raw)
In-Reply-To: ne0t1k$um3$1@dont-email.me

"Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org> writes:

> If you're using Ada 12, then the standard synchronized-queue
> containers can serve this purpose (assuming they meet all your
> requirements, including the Ravenscar restrictions).

This depends on the actual runtime, which typically imposes further
restrictions; for example, AdaCore's ravenscar-sfp-stm32f4 has

   pragma Restrictions (No_Exception_Propagation);
   --  Only local exception handling is supported in this profile

   pragma Restrictions (No_Exception_Registration);
   --  Disable exception name registration. This capability is not used
   --  because it is only required by exception stream attributes which
   --  are not supported in this run time.

   pragma Restrictions (No_Implicit_Dynamic_Code);
   --  Pointers to nested subprograms are not allowed in this run time,
   --  in order to prevent the compiler from building "trampolines".

   pragma Restrictions (No_Finalization);
   --  Controlled types are not supported in this run time

and the first and last preclude the standard containers (not sure about
synchronized queues, but seems pretty unlikely).


  reply	other threads:[~2016-04-05 19:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-05 17:09 How to do multiple instances of a generic packages in automated way. (using ravenscar profile) danielnorberto
2016-04-05 17:39 ` Jeffrey R. Carter
2016-04-05 19:39   ` Simon Wright [this message]
2016-04-07 12:05 ` danielnorberto
2016-04-07 12:36   ` G.B.
2016-04-11  9:14     ` Daniel Norber
2016-04-11 13:04       ` Shark8
2016-04-11 17:25         ` Daniel Norber
2016-04-11 15:58       ` Anh Vo
2016-04-11 17:21         ` Daniel Norber
2016-04-11 17:26           ` Anh Vo
2016-04-11 16:59       ` Jeffrey R. Carter
2016-04-11 17:23         ` Daniel Norber
2016-04-11 17:27           ` Jeffrey R. Carter
2016-04-12  5:19           ` Brad Moore
2016-04-26 15:08             ` Daniel Norber
2016-05-05 21:01 ` rieachus
replies disabled

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