comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: set_index and and end_of_file with just a stream reference
Date: Sat, 20 Feb 2021 16:01:11 +0000	[thread overview]
Message-ID: <ly8s7in2yg.fsf@pushface.org> (raw)
In-Reply-To: 9df86116-6373-484f-b477-55439c88a492n@googlegroups.com

Mehdi Saada <00120260a@gmail.com> writes:

> By the way, what was the rational behind this  entry format ?
> Why don't we just have protected procedure ... when ... is and
> protected function ... when ... is ?

With protected subprograms, the caller only has to wait until no one
else is using the PO.

With entries, the caller has also to wait until the entry condition is
met (subprograms can continue to be called, from other tasks of course).

  reply	other threads:[~2021-02-20 16:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20 15:26 set_index and and end_of_file with just a stream reference Mehdi Saada
2021-02-20 15:35 ` Mehdi Saada
2021-02-20 16:01   ` Simon Wright [this message]
2021-02-20 16:04 ` Dmitry A. Kazakov
2021-02-20 16:22   ` Mehdi Saada
2021-02-20 16:30     ` Mehdi Saada
2021-02-20 17:59       ` Dmitry A. Kazakov
2021-02-20 19:08         ` Mehdi Saada
2021-02-20 21:41           ` Simon Wright
2021-02-21  0:22           ` Dmitry A. Kazakov
2021-02-23 17:21           ` Shark8
2021-02-23 17:56           ` J-P. Rosen
2021-02-20 17:52     ` Dmitry A. Kazakov
2021-02-21  1:56   ` Randy Brukardt
replies disabled

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