TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

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

Print Reply
Mark Lundquist <[log in to unmask]>
Fri, 21 Apr 2000 12:20:25 -0700
text/plain (20 lines)
From:  "Beard, Frank" <[log in to unmask]>

> So, I'm trying to figure out if I'm hitting some type of
> timing problem where one task is freeing an object's
> memory while another task is picking up memory for
> the same type of object.  In other words, does a
> protected function not block another task from calling
> a protected procedure.

No, a protected function *does* exclude any "external calls" ([RM 9.5])
(procedure, function, or entry) on the P.O.  See [RM 9.5.1(3-6)].


Mark Lundquist
Senior Software Engineer
Rational Software
Development Solutions Business Unit
Aloha, OR, USA