From owner-sc22wg5@open-std.org Thu Apr 22 02:00:54 2010 Return-Path: X-Original-To: sc22wg5-dom8 Delivered-To: sc22wg5-dom8@www2.open-std.org Received: by www2.open-std.org (Postfix, from userid 521) id F3D7BC56CF8; Thu, 22 Apr 2010 02:00:53 +0200 (CET DST) X-Original-To: sc22wg5@open-std.org Delivered-To: sc22wg5@open-std.org Received: from e2.ny.us.ibm.com (e2.ny.us.ibm.com [32.97.182.142]) by www2.open-std.org (Postfix) with ESMTP id 09930C4E9FA for ; Thu, 22 Apr 2010 02:00:48 +0200 (CET DST) Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e2.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o3LNnKh0026565 for ; Wed, 21 Apr 2010 19:49:20 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o3M00kGG1863878 for ; Wed, 21 Apr 2010 20:00:46 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o3M00kTk018422 for ; Wed, 21 Apr 2010 20:00:46 -0400 Received: from d25ml04.torolab.ibm.com (d25ml04.torolab.ibm.com [9.26.6.105]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id o3M00kCf018409; Wed, 21 Apr 2010 20:00:46 -0400 In-Reply-To: <20100421221958.90A94C4E9FA@www2.open-std.org> References: <20100421204947.D8CC7C178DA@www2.open-std.org> <20100421211033.11C11C4E9FA@www2.open-std.org> <20100421211846.2761BC4E9FA@www2.open-std.org> <20100421221958.90A94C4E9FA@www2.open-std.org> To: fortran standards email list for J3 Cc: j3-bounces@j3-fortran.org, WG5 MIME-Version: 1.0 Subject: Re: (j3.2006) (SC22WG5.4255) [ukfortran] Question on locks X-KeepSent: 0A3265D1:8C884BA5-8525770C:00831876; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.0.1 HF105 April 10, 2008 Message-ID: From: Jim Xia Date: Wed, 21 Apr 2010 20:00:45 -0400 X-MIMETrack: Serialize by Router on D25ML04/25/M/IBM(Release 8.0.1|February 07, 2008) at 04/21/2010 20:00:46, Serialize complete at 04/21/2010 20:00:46 Content-Type: multipart/alternative; boundary="=_alternative 000011008525770D_=" Sender: owner-sc22wg5@open-std.org Precedence: bulk This is a multipart message in MIME format. --=_alternative 000011008525770D_= Content-Type: text/plain; charset="US-ASCII" > NOTE 8.41 could be improved by changing the namwe LOCKED, because it ISN'T > using locks! It's using atomics. They do not synchronise memory. > I have asked to change the name of LOCKED in hpc subgroup meetings, but my concerns were played down. Yes, the name is confusing. What we did change was to make the subscripts, i, j (for P and Q respectively) to match those used in the paragraph describing the user-defined ordering under SYNC MEMORY. Otherwise, the example would be even more confusing :-) Cheers, Jim Xia XL Fortran Compiler Test IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7 Phone (905) 413-3444 Tie-line 313-3444 email: jimxia@ca.ibm.com D2/YF7/8200 /MKM http://www.ibm.com/software/awdtools/fortran/xlfortran --=_alternative 000011008525770D_= Content-Type: text/html; charset="US-ASCII"

> NOTE 8.41 could be improved by changing the namwe LOCKED, because it ISN'T
> using locks!  It's using atomics.  They do not synchronise memory.
>


I have asked to change the name of LOCKED in hpc subgroup meetings, but my concerns were played down.  Yes, the name is confusing.  What we did change was to make the subscripts, i, j (for P and Q respectively) to match those used in the paragraph describing the user-defined ordering under SYNC MEMORY.  Otherwise, the example would be even more confusing :-)


Cheers,


Jim Xia

XL Fortran Compiler Test
IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7
Phone (905) 413-3444  Tie-line 313-3444
email: jimxia@ca.ibm.com
D2/YF7/8200 /MKM

http://www.ibm.com/software/awdtools/fortran/xlfortran

--=_alternative 000011008525770D_=--