comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Protected Type Question.
Date: Tue, 12 Dec 2000 03:39:39 GMT
Date: 2000-12-12T03:39:39+00:00	[thread overview]
Message-ID: <%5hZ5.18433$M5.729727@news1.frmt1.sfba.home.com> (raw)
In-Reply-To: B6A1A9B09E52D31183ED00A0C9E0888C46992F@nctswashxchg.nctswash.navy.mil

That semaphore code should work, and certainly shouldn't hang.  Is there
any possible significance to the fact both your examples show task (3)
as the one that does a RELEASE but never gets to RELEASED?  Are you
sure the program is hanging, and not crashing and somehow hanging
during the attempted crash?
  Pragmas Atomic and Volatile should certainly not be necessary.  The
whole point is that only one task at a time can execute the entries
or procedures in, and thus access or change the value of data
(Busy, in this case) of, a protected object.



       reply	other threads:[~2000-12-12  3:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <B6A1A9B09E52D31183ED00A0C9E0888C46992F@nctswashxchg.nctswash.navy.mil>
2000-12-12  3:39 ` tmoran [this message]
2004-01-03 20:58 protected type question shoko
2004-01-04  0:50 ` James Rogers
2004-01-04  1:04 ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
2000-12-13 23:23 Protected Type Question Beard, Frank
2000-12-12  6:43 Beard, Frank
2000-12-12  5:49 Beard, Frank
2000-12-12 10:54 ` Robert Dewar
2000-12-12  1:45 Beard, Frank
2000-12-12  2:51 ` Robert Dewar
1996-03-20  0:00 Bill Pritchett
1996-03-20  0:00 ` Robert Dewar
replies disabled

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