comp.lang.ada
 help / color / mirror / Atom feed
From: Sebastian Hanigk <hanigk@in.tum.de>
Subject: Re: run tasks on events
Date: Fri, 30 May 2008 08:56:28 +0200
Date: 2008-05-30T08:56:28+02:00	[thread overview]
Message-ID: <g1o8es$ma3$1@news.lrz-muenchen.de> (raw)
In-Reply-To: 25a7ce92-c4fc-4cd1-ad59-da225d5114e0@a32g2000prf.googlegroups.com

Anh Vo <anhvofrcaus@gmail.com> writes:

> It is not true. Protected entry, implemented in Transient Signals for
> example, can suspend/release multiple tasks.

You're right, sorry, I should have perused the ARM beforehand.

I have now created a protected type with a Boolean member, a procedure
to set the Boolean and a protected entry with the Boolean as guard, the
entry's body is empty. Inside the tasks' loops I'm calling the type's
entry which suspends or activates the task depending on the Boolean
flag.

Is this a good or adequate solution or have I missed something critical?


Best regards,

Sebastian



  reply	other threads:[~2008-05-30  6:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28 19:14 [Ravenscar] run tasks on events Sebastian Hanigk
2008-05-28 23:47 ` jimmaureenrogers
2008-05-29 10:35   ` Sebastian Hanigk
2008-05-29  3:16 ` ahab
2008-05-29 10:31   ` Sebastian Hanigk
2008-05-29 18:56     ` Anh Vo
2008-05-30  6:56       ` Sebastian Hanigk [this message]
2008-05-30  7:26 ` [Ravenscar] " Niklas Holsti
2008-05-30  8:57   ` Sebastian Hanigk
2008-05-30 10:47     ` Niklas Holsti
2008-05-30 11:17       ` Sebastian Hanigk
2008-05-30 15:24         ` Alex R. Mosteo
2008-05-30 15:35           ` Ed Falis
2008-05-30 18:02             ` Sebastian Hanigk
2008-05-30 18:11               ` Ed Falis
2008-05-30 11:59       ` stefan-lucks
2008-05-30 12:17 ` jimmaureenrogers
2008-05-30 18:59   ` Sebastian Hanigk
2008-06-02 10:32     ` Alex R. Mosteo
replies disabled

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