comp.lang.ada
 help / color / mirror / Atom feed
* Protected Objects - eggshell model
@ 2008-12-23 22:08 hesobreira
  2008-12-24  0:43 ` Adam Beneschan
  2008-12-24  0:49 ` Robert A Duff
  0 siblings, 2 replies; 4+ messages in thread
From: hesobreira @ 2008-12-23 22:08 UTC (permalink / raw)


This was not clear to me while reading Barnes' book about protected
types.

There are two conditions that must be satisfied in order to execute
the entry call: no other task accessing the object at the same time
and the condition barrier evaluated to TRUE (eggshell, or two level
protection model). My question is: which one of these conditions is
evaluated first, the access lock or the condition barrier?

Thank you all in advance,
Hugo



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-25 14:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-23 22:08 Protected Objects - eggshell model hesobreira
2008-12-24  0:43 ` Adam Beneschan
2008-12-25 14:29   ` hesobreira
2008-12-24  0:49 ` Robert A Duff

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