From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Gnat Problem - Freezing too soon
Date: Thu, 28 Feb 2019 13:19:21 -0800 (PST)
Date: 2019-02-28T13:19:21-08:00 [thread overview]
Message-ID: <adf615d1-d250-4962-a504-1b44dedf2d9f@googlegroups.com> (raw)
In-Reply-To: <q599k3$1t6e$1@gioia.aioe.org>
On Thursday, February 28, 2019 at 10:34:46 AM UTC-8, russ lyttle wrote:
> Example from the bookAnalysable Real-Time Systems :
>
> 1 package Environment_Monitor.Ch4_Status is --Protected
> 2 protected type Methane_Agent (Ceiling : Priority)
> 3 with Priority => Ceiling
> 4 is new CH4_Safety
> 5 with
> 6 overriding function Check_Safe return Methane_Status;
> 7 overriding procedure Set_Safety (M : Methane_Status);
> 8 private
> 9 Current_Status : Methane_Status := Motor_Unsafe;
> 10 end Methane_Agent;
> 11 end Environment_Monitor.Ch4_Status;
>
> Gnat complains that Methane_Agent is frozen at line 2, and line 3 is
> trying to change an attribute after being frozen.
I do not have this book. Could you post a minimally compile-able codes if not completed ones.
Anh Vo
next prev parent reply other threads:[~2019-02-28 21:19 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-28 18:34 Gnat Problem - Freezing too soon russ lyttle
2019-02-28 21:19 ` Anh Vo [this message]
2019-02-28 21:31 ` russ lyttle
2019-02-28 21:22 ` Simon Wright
2019-02-28 22:11 ` russ lyttle
2019-03-01 0:49 ` Anh Vo
2019-03-01 14:21 ` russ lyttle
2019-03-01 16:54 ` Anh Vo
2019-03-01 21:50 ` russ lyttle
2019-03-02 1:08 ` Anh Vo
2019-03-02 3:55 ` russ lyttle
2019-03-02 5:50 ` Anh Vo
2019-03-02 20:19 ` russ lyttle
2019-03-02 21:35 ` Simon Wright
2019-03-03 20:42 ` russ lyttle
2019-03-03 21:26 ` Simon Wright
2019-03-04 0:33 ` russ lyttle
2019-03-02 14:09 ` Simon Wright
2019-03-01 8:12 ` Simon Wright
2019-03-01 14:17 ` russ lyttle
2019-03-01 18:10 ` Simon Wright
2019-03-01 21:35 ` russ lyttle
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox