From: "Alejandro R. Mosteo" <alejandro@mosteo.com>
Subject: Re: Launching background job from Ada.Real_Time.Timing_Events
Date: Thu, 2 Jun 2016 23:13:36 +0200
Date: 2016-06-02T23:13:36+02:00 [thread overview]
Message-ID: <niq7he$ph5$1@dont-email.me> (raw)
In-Reply-To: <ni2jud$kv2$1@dont-email.me>
On 25/05/16 00:21, Jeffrey R. Carter wrote:
> On 05/24/2016 07:39 AM, Mark Lorenzen wrote:
>>
>> If you want to detach the high-priority PO implementing the timer event
>> handler from the PO implementing the job queue, then let a task block
>> on an
>> entry in the first PO and put the job into the second PO. The task is
>> then
>> the active object moving data between the POs and thus detaching them.
>
> This is known as a forwarder. There's a generic forwarder in the
> PragmAda Reusable Components. The main problem with forwarders is that
> there's no easy way to terminate them.
Indeed I was also thinking about this. I can't think of anything besides
periodical checks to some bail-out flag.
> The PragmARCs are at
>
> pragmada.x10hosting.com
>
> and
>
> github.com/jrcarter
Thanks!
next prev parent reply other threads:[~2016-06-02 21:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-24 14:22 Launching background job from Ada.Real_Time.Timing_Events Alejandro R. Mosteo
2016-05-24 14:39 ` Mark Lorenzen
2016-05-24 15:06 ` Alejandro R. Mosteo
2016-05-24 22:21 ` Jeffrey R. Carter
2016-06-02 21:13 ` Alejandro R. Mosteo [this message]
2016-06-02 23:16 ` Jeffrey R. Carter
2016-05-24 23:52 ` Jeffrey R. Carter
2016-06-02 21:22 ` Alejandro R. Mosteo
2016-05-25 7:23 ` Dmitry A. Kazakov
2016-06-02 21:25 ` Alejandro R. Mosteo
2016-06-03 7:26 ` Dmitry A. Kazakov
2016-06-03 10:03 ` Alejandro R. Mosteo
2016-06-03 12:15 ` Dmitry A. Kazakov
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox