From: Niklas Holsti <nobody@nowhere.fi>
Subject: Re: Problem with -gnatt
Date: Sat, 23 Oct 2004 23:12:14 +0300
Date: 2004-10-23T23:12:14+03:00 [thread overview]
Message-ID: <417ABB1E.30809@nowhere.fi> (raw)
In-Reply-To: uhdopbb0j.fsf@act-europe.fr
Pascal Obry wrote:
> "Alex R. Mosteo" <devnull@mailinator.com> writes:
>
>
>>Whe are talking about no IO inside the protected subprograms, right? Nobody
>>prevents you to use another task to do IO. Or I'm missing something?
>
>
> Fine, and in this case you will have to leave the protected operation to let
> another one send/receive the data to/from a task. So we are back to
> "for a short time" :)
No, the task doing the "long" protected operation can be pre-empted by a
higher-priority task (that does not use the same protected object) and
the pre-empting task can then do I/O, even blocking operations, as long
as it does not call a blocking operation within (another) protected
operation.
In my experience, a largish real-time program will have tasks and
protected objects at several priority levels, corresponding
monotonically to a range of deadlines, and the protected operations on
the less-urgent priority levels may be quite "long" compared to the
"short" deadlines of the more-urgent levels.
--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
next prev parent reply other threads:[~2004-10-23 20:12 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-20 13:22 Problem with -gnatt Stephen Leake
2004-10-20 15:08 ` Pascal Obry
2004-10-20 16:23 ` Alex R. Mosteo
2004-10-20 16:38 ` Pascal Obry
2004-10-20 20:05 ` Alex R. Mosteo
2004-10-23 20:12 ` Niklas Holsti [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-10-20 1:34 Stephen Leake
2004-10-20 6:37 ` Matthew Heaney
2004-10-20 9:19 ` Pascal Obry
2004-10-07 10:40 Javadoc-like for Ada Alex R. Mosteo
2004-10-07 11:46 ` stephane richard
2004-10-07 13:05 ` Marc A. Criley
2004-10-07 13:39 ` Alex R. Mosteo
2004-10-07 16:51 ` Problem with -gnatt (was Re: Javadoc-like for Ada) Alex R. Mosteo
2004-10-07 19:21 ` Problem with -gnatt Ludovic Brenta
2004-10-08 8:45 ` Alex R. Mosteo
2004-10-08 9:43 ` Martin Dowie
2004-10-08 13:09 ` Alex R. Mosteo
2004-10-09 14:17 ` Stephen Leake
2004-10-15 20:11 ` Matthew Heaney
2004-10-18 7:59 ` Alex R. Mosteo
2004-10-08 16:52 ` Ludovic Brenta
2004-10-09 14:16 ` Stephen Leake
2004-10-09 14:45 ` Jeff C r e e.m
2004-10-10 12:25 ` Ludovic Brenta
2004-10-10 14:42 ` Stephen Leake
2004-10-15 20:03 ` Matthew Heaney
2004-10-16 13:16 ` Stephen Leake
2004-10-15 20:00 ` Matthew Heaney
2004-10-15 20:06 ` Matthew Heaney
2004-10-18 7:59 ` Alex R. Mosteo
2004-10-18 16:48 ` Matthew Heaney
2004-10-18 18:21 ` Alex R. Mosteo
2004-10-19 0:20 ` Matthew Heaney
2004-10-19 2:41 ` Brian May
2004-10-19 3:08 ` Matthew Heaney
2004-10-19 7:15 ` Alex R. Mosteo
2004-10-19 14:52 ` Matthew Heaney
2004-10-19 15:46 ` Alex R. Mosteo
2004-10-19 20:03 ` Matthew Heaney
2004-10-19 20:38 ` Alex R. Mosteo
2004-10-23 6:28 ` Brian May
2004-10-24 5:45 ` Jeffrey Carter
2004-10-24 8:54 ` Dmitry A. Kazakov
2004-10-20 1:20 ` Jeffrey Carter
2004-10-20 14:48 ` Matthew Heaney
2004-10-19 7:36 ` Alex R. Mosteo
2004-10-20 5:19 ` Simon Wright
2004-10-20 7:59 ` 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