TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Christoph & Ursula Grein <[log in to unmask]>
Date: Fri, 11 Jul 1997 17:16:00 +0100
Reply-To: Christoph & Ursula Grein <[log in to unmask]>
Parts/Attachments: text/plain (16 lines)
Robert I. Eachus wrote:

>You have to have a protected object push it on a stack along with the
>location so that tasking won't cause a problem.

I do not see how a stack should solve the problem. I think the idea with
stacks is: "Finalize pushes it on the stack, Adjust pops it."
But: Every Finalize pushes, who pops if there is no Adjust? Eventually the
     stack will overflow!

Christoph Grein

The mailbox mails mail
Die Mehlbüx mehlt Mehl
Der Müller  mahlt Mehl