/[MITgcm]/MITgcm/eesupp/src/memsync.F
ViewVC logotype

Contents of /MITgcm/eesupp/src/memsync.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue May 18 17:39:21 1999 UTC (25 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint28, checkpoint29, checkpoint22, checkpoint23, checkpoint24, checkpoint25, checkpoint27, branch-atmos-merge-freeze, branch-atmos-merge-start, checkpoint26, branch-atmos-merge-shapiro, checkpoint33, checkpoint32, checkpoint31, checkpoint30, checkpoint34, branch-atmos-merge-zonalfilt, branch-atmos-merge-phase5, branch-atmos-merge-phase4, branch-atmos-merge-phase7, branch-atmos-merge-phase6, branch-atmos-merge-phase1, branch-atmos-merge-phase3, branch-atmos-merge-phase2
Branch point for: branch-atmos-merge
Changes since 1.2: +2 -1 lines
Added IMPLICIT NONE where missing and changed formatting from 'I' to 'I5'.

1 C $Header: /u/gcmpack/models/MITgcmUV/eesupp/src/memsync.F,v 1.2 1998/12/08 19:47:16 adcroft Exp $
2
3 #include "CPP_EEOPTIONS.h"
4
5 SUBROUTINE MEMSYNC
6
7 C /==========================================================\
8 C | SUBROUTINE MEMSYNC |
9 C | o Place holder for memory sync routine |
10 C |==========================================================|
11 C | This routine is called wherever the code requires |
12 C | that writes performed by one thread or process must |
13 C | be guaranteed visible to other processes and or threads. |
14 C | On SPARC this routine would implement a |
15 C | asm("membar #LoadStore|#StoreStore"); |
16 C | On ALPHA |
17 C | asm("mb"); |
18 C | Note: I have yet to show this is necessary although |
19 C | the Memory Channel writes must need something like|
20 C | this. |
21 C \==========================================================/
22 IMPLICIT NONE
23
24 END

  ViewVC Help
Powered by ViewVC 1.1.22