comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: set_index and and end_of_file with just a stream reference
Date: Sat, 20 Feb 2021 17:04:50 +0100	[thread overview]
Message-ID: <s0rbv0$dss$1@gioia.aioe.org> (raw)
In-Reply-To: 4d2daa8c-c159-48a4-bdf7-e9aa3b537bcan@googlegroups.com

On 2021-02-20 16:26, Mehdi Saada wrote:
> In term of design, I have a file inside a protected type, to ensure validity for concurrrent readings/writings.

This is illegal ARM 9.5.1 (8)

Use a mutex (based on a protected object) or a monitor (based on a task) 
for mutually exclusion of blocking operations.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  parent reply	other threads:[~2021-02-20 16:04 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
2021-02-20 16:04 ` Dmitry A. Kazakov [this message]
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