From owner-sc22wg5@open-std.org  Thu Dec  4 22:21:07 2008
Return-Path: <owner-sc22wg5@open-std.org>
X-Original-To: sc22wg5-dom7
Delivered-To: sc22wg5-dom7@www2.open-std.org
Received: by www2.open-std.org (Postfix, from userid 521)
	id 7FB44C56CFA; Thu,  4 Dec 2008 22:21:07 +0100 (CET)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
Received: from mail.jpl.nasa.gov (sentrion2.jpl.nasa.gov [128.149.139.106])
	by www2.open-std.org (Postfix) with ESMTP id 9E151C56CF8
	for <sc22wg5@open-std.org>; Thu,  4 Dec 2008 22:21:05 +0100 (CET)
Received: from mprox1.jpl.nasa.gov (mprox1.jpl.nasa.gov [137.78.160.140])
	by mail.jpl.nasa.gov (Switch-3.3.2mp/Switch-3.3.2mp) with ESMTP id mB4LL2xd024585
	for <sc22wg5@open-std.org>; Thu, 4 Dec 2008 21:21:02 GMT
Received: from [137.79.7.57] (math.jpl.nasa.gov [137.79.7.57])
	(authenticated bits=0)
	by mprox1.jpl.nasa.gov (Switch-3.2.6/Switch-3.2.6) with ESMTP id mB4LKxgT027106
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <sc22wg5@open-std.org>; Thu, 4 Dec 2008 13:21:01 -0800
Subject: Question about ATOMIC_DEFINE
From: Van Snyder <Van.Snyder@jpl.nasa.gov>
Reply-To: Van.Snyder@jpl.nasa.gov
To: sc22wg5 <sc22wg5@open-std.org>
Content-Type: text/plain
Organization: Yes
Date: Thu, 04 Dec 2008 13:20:57 -0800
Message-Id: <1228425657.15904.651.camel@math.jpl.nasa.gov>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.3 (2.12.3-8.el5_2.2) 
Content-Transfer-Encoding: 7bit
X-Source-IP: math.jpl.nasa.gov [137.79.7.57]
X-Source-Sender: Van.Snyder@jpl.nasa.gov
X-AUTH: Authorized
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

In NOTE 8.38, the reference to ATOMIC_DEFINE is preceded and followed by
SYNC MEMORY.

Assuming the ATOM argument is a coarray, coindexed object, or
subcomponent of a coindexed object, Is there ever a time when it should
not be?

If there is no such time, the effects of SYNC MEMORY should be included
in the procedure.  Perhaps it should be included even if there is a time
when you could get away without it, but it never hurts to do it.

This would make a reference to ATOMIC_DEFINE with such an ATOM argument
an image control statement.

-- 
Van Snyder                    |  What fraction of Americans believe 
Van.Snyder@jpl.nasa.gov       |  Wrestling is real and NASA is fake?
Any alleged opinions are my own and have not been approved or
disapproved by JPL, CalTech, NASA, the President, or anybody else.

