comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Taking 'Access of single task/protected object
Date: Thu, 7 Jan 2016 20:38:33 +0100
Date: 2016-01-07T20:38:33+01:00	[thread overview]
Message-ID: <n6memr$nl3$1@dont-email.me> (raw)
In-Reply-To: <n6m9s5$gs7$1@dont-email.me>

Le 07/01/2016 19:16, Jeffrey R. Carter a écrit :
> Presumably the desire is to have multiple single tasks, all with an entry
> Something, so that the operations of the type can call different tasks. In this
> situation, there would be a finite set of known single tasks, so the type could
> hold the task ID of the appropriate task, and operations could select the task
> to call based on the ID.
This can be achieved by having all the single task inherit an interface.

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr

  reply	other threads:[~2016-01-07 19:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-07 16:18 Taking 'Access of single task/protected object G.B.
2016-01-07 17:30 ` Dmitry A. Kazakov
2016-01-07 18:16 ` Jeffrey R. Carter
2016-01-07 19:38   ` J-P. Rosen [this message]
2016-01-07 23:52   ` Randy Brukardt
2016-01-08  8:52     ` J-P. Rosen
replies disabled

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