comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Two-stage suspend operations
Date: Tue, 10 May 2016 06:46:05 +0100
Date: 2016-05-10T06:46:05+01:00	[thread overview]
Message-ID: <ly37pqqxcy.fsf@pushface.org> (raw)
In-Reply-To: df5f5eda-be56-4387-9931-d1c59f52d575@googlegroups.com

rieachus@comcast.net writes:

> On Monday, May 9, 2016 at 4:56:15 AM UTC-4, Simon Wright wrote:
>> I see what you mean. It's just that the wording in the ARM made it sound
>> as though "two-stage suspend operations" was a phrase widely known in
>> the community, which clearly isn't the case.
>
> If you look at this article from Wikipedia:
> https://en.wikipedia.org/wiki/Two-phase_locking and go down to "strong
> strict two-phase locking" you will see that it is not you, me or the
> Ada Rationale.  There are a lot of inconsistent names floating around
> in this area, and the Rationale apparently chose one that lost
> out. (Strong strict two-phase locking may not interest you, I just
> picked the article as one showing considerable name confusion in
> 2011.)

Yes. I think part of my confusion is that the example in the Rationale
doesn't actually involve locking at all.

> I'm curious as to why you are interested in this area.  Ada is a great
> language for implementing in memory databases.  At MITRE I worked on
> both ground based and in-flight radar systems.  The emphasis was on
> consistency and non-blocking.

I'm looking at a system[1] where I'm assured that we need to run a
drone's motor controller at 20 kHz, and SOs seemed a possibility. Of
course, if you need to avoid concurrency problems between a timer-driven
ISR and tasking code, using SOs isn't going to work! so we are looking
at swing-buffering or possibly GNAT's Lock_Free pragma/aspect[2].

[1] http://adapilot.likeabird.eu/index.html
[2] https://gcc.gnu.org/onlinedocs/gnat_rm/Pragma-Lock_005fFree.html


  reply	other threads:[~2016-05-10  5:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-07 16:13 Two-stage suspend operations Simon Wright
2016-05-08  3:56 ` rieachus
2016-05-08 19:26   ` Simon Wright
2016-05-09  2:12     ` rieachus
2016-05-09  8:56       ` Simon Wright
2016-05-09 23:15         ` rieachus
2016-05-10  5:46           ` Simon Wright [this message]
2016-05-10 21:14 ` rieachus
2016-05-11  8:55   ` Simon Wright
2016-05-11 21:20 ` 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