comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: file locking in Ada
Date: 1997/03/29
Date: 1997-03-29T00:00:00+00:00	[thread overview]
Message-ID: <dewar.859697051@merv> (raw)
In-Reply-To: E7tuD6.4n7@world.std.com


Robert Duff said

<<Where does the RM allow implementations to not bother with parallel
protected function calls?  I know that the intent of the language
designers was to allow both -- one function locks out another, or one
function allows another to run in parallel.  But I don't see where the
RM says so.  It seems possible to write code that detects the difference
-- it might deadlock if a function grabs read/write access, when it
would not deadlock if it only grabs read-only access.  What am I
missing?>>

One more thing Bob, remember ceiling locking when you try to construct
your test program, this ensures that a higher priority task cannot
preempt a lower priority task in the middle of a protected object.





  parent reply	other threads:[~1997-03-29  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-28  0:00 file locking in Ada Neil Goodgame
1997-03-28  0:00 ` Michael F Brenner
1997-03-28  0:00   ` Robert Dewar
1997-03-29  0:00     ` Robert A Duff
1997-03-29  0:00       ` Robert Dewar
1997-04-01  0:00         ` Robert A Duff
1997-03-29  0:00       ` Robert Dewar [this message]
1997-04-01  0:00         ` Robert A Duff
1997-03-28  0:00   ` Larry Kilgallen
1997-03-30  0:00 ` Nick Roberts
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox