[J3] US13. Put with Notify.
John Reid
John.Reid at stfc.ac.uk
Thu Sep 23 11:04:52 UTC 2021
Reinhold,
Thanks for the comment
I see [212:15-17] as another sentence that should be removed. It is very
hard to see what it is trying to say and anyway everything has been said
by the previous sentences:
"A coarray may be referenced or defined by execution of an atomic
subroutine during the execution of a segment that is unordered relative
to the execution of a segment in which the coarray is referenced or
defined by execution of an atomic subroutine. An event variable or
notify variable may be referenced or defined during the execution of a
segment that is unordered relative to the execution of another segment
in which that event variable or notify variable is defined."
Note that [456:28-29] says
"The effect of each update is as if the intrinsic subroutine ATOMIC_ADD
were executed with a variable that
stores the notify count as its ATOM argument."
> You want to be able to deduce possible invalidity of data accesses if the UNTIL_COUNT is smaller than the number of notifications.
This is clearly stated at [210:16-17]:
"(2) the executing image waits until the count of the notify variable
is greater than or equal to the threshold value or an error condition
occurs;"
Cheers,
John.
>
> Cheers
> Reinhold
>
>
> -----Ursprüngliche Nachricht-----
> Von: J3 <j3-bounces at mailman.j3-fortran.org> Im Auftrag von John Reid via J3
> Gesendet: Dienstag, 21. September 2021 21:24
> An: fortran standards email list for J3 <j3 at j3-fortran.org>
> Cc: John Reid <John.Reid at stfc.ac.uk>
> Betreff: [J3] US13. Put with Notify.
>
> Dear all,
>
> I think I have found two glitches associated with US 13. Here is a draft paper. Any comments? I plan to put it on the web site at the end of this week.
>
> Cheers,
>
> John
>
More information about the J3
mailing list