From: reinert <reinkor@gmail.com>
Subject: Re: How to make tasks to run in parallel
Date: Tue, 17 Oct 2017 00:25:05 -0700 (PDT)
Date: 2017-10-17T00:25:05-07:00 [thread overview]
Message-ID: <c06e07ad-4894-4492-859f-8396ecce00a6@googlegroups.com> (raw)
In-Reply-To: <bc21fdf6-e061-4d31-9673-139d6c16f96a@googlegroups.com>
Yes yes...
On Tuesday, October 17, 2017 at 8:08:05 AM UTC+2, gautier...@hotmail.com wrote:
> Just move "end run1" just after "x := a"
>
> accept run1(a : in real) do
> x := a;
> end run1;
>
> Between "accept" and "end run1" it is a rendezvous: the calling task and task test2_t are flirting together and passing messages; after the rendezvous they do their jobs separately, possibly in parallel.
> BTW: for a real program, don't use Float, use Long_Float!...
>
> HTH
> Gautier
> _____________________________________________________________
> A free online game in Ada: http://pasta.phyrama.com/game.html
> New: High Scores lists!
next prev parent reply other threads:[~2017-10-17 7:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-17 4:58 How to make tasks to run in parallel reinert
2017-10-17 6:08 ` gautier_niouzes
2017-10-17 7:25 ` reinert [this message]
2017-10-17 15:36 ` Jeffrey R. Carter
2017-10-21 12:32 ` Jacob Sparre Andersen
2017-10-17 6:17 ` Per Sandberg
2017-10-17 6:30 ` gautier_niouzes
2017-10-17 7:32 ` reinert
2017-10-17 7:47 ` Dmitry A. Kazakov
2017-10-17 8:06 ` Niklas Holsti
2017-10-17 8:48 ` Dmitry A. Kazakov
2017-10-17 11:13 ` Simon Wright
2017-10-17 12:11 ` Dmitry A. Kazakov
2017-10-17 14:23 ` AdaMagica
2017-10-17 9:06 ` reinert
2017-10-17 10:04 ` Dmitry A. Kazakov
2017-10-17 7:29 ` Dmitry A. Kazakov
2017-10-17 7:36 ` reinert
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox