TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Subject:
From:
Tucker Taft <[log in to unmask]>
Date:
Wed, 5 Nov 1997 09:30:42 -0500
X-To:
Reply-To:
Tucker Taft <[log in to unmask]>
Parts/Attachments:
text/plain (27 lines)
> > >add a delay 0.0 to allow switching ...
> > I don't have an RM handy, but I recall you technically need something
> > like delay duration'small or something to force a task switch.

This statement is wrong.  It is very clear from D.2.2(18) that any delay
statement results in at least one task dispatching point.

> I remember I once was very disappointed about the language
> definition not to allow for a zero time break point  :-(

Don't be disappointed.  The person without the "handy" RM was wrong.
Don't believe everything you read on TEAM-ADA, especially written
by people without handy RMs ;-).

> A "delay 0.0" should be a potential break, what else?
> Give me one reason not to do so.
> Even a "delay -t" should do so.

Both of these do result in a task dispatching point.

> --
> Peter Hermann  Tel:+49-711-685-3611 Fax:3758 [log in to unmask]
> Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen
> Team Ada: "C'mon people let the world begin" (Paul McCartney)

-Tucker Taft  [log in to unmask]

ATOM RSS1 RSS2