From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.muarf.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed2-b.proxad.net!nnrp1-1.free.fr!not-for-mail From: William FRANCK Newsgroups: comp.lang.ada Date: Mon, 14 Oct 2019 23:04:22 +0200 Message-ID: <5da4e2d6$0$3525$426a74cc@news.free.fr> References: <5da4cf81$0$20312$426a74cc@news.free.fr> <5da4d8dc$0$20339$426a74cc@news.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: How to transfer Class-Wide object to a Task ? User-Agent: Unison/2.2 Organization: Guest of ProXad - France NNTP-Posting-Date: 14 Oct 2019 23:04:22 CEST NNTP-Posting-Host: 92.184.99.238 X-Trace: 1571087062 news-1.free.fr 3525 92.184.99.238:47115 X-Complaints-To: abuse@proxad.net Xref: reader01.eternal-september.org comp.lang.ada:57284 Date: 2019-10-14T23:04:22+02:00 List-Id: On 2019-10-14 20:32:45 +0000, Dmitry A. Kazakov said: > On 2019-10-14 22:21, William FRANCK wrote: > >> Here is some code to illustrate >> (code needs soem fixings) > > The exercise does not make sense. It is a classwork, BTW? > > It does not make sense because it could only work if both tasks > exchanging the object would be in a rendezvous. This would defeat the > very purpose of doing things in parallel during a rendezvous tasks are > synchronized. No it's a real use case, I did wantedto make it simple : one read, then one write. just both in //. maybe I did the design the wrong way... Datafile is about 6_000_000 records; 16 GB Longest record is 1381 Bytes. William