mirror of
https://github.com/OpenMP/Examples.git
synced 2025-04-07 23:22:11 +01:00
19 lines
416 B
Fortran
19 lines
416 B
Fortran
! @@name: threadprivate.4f
|
|
! @@type: F-fixed
|
|
! @@compilable: yes
|
|
! @@linkable: no
|
|
! @@expect: success
|
|
SUBROUTINE INC_GOOD()
|
|
COMMON /T/ A
|
|
!$OMP THREADPRIVATE(/T/)
|
|
|
|
CONTAINS
|
|
SUBROUTINE INC_GOOD_SUB()
|
|
COMMON /T/ A
|
|
!$OMP THREADPRIVATE(/T/)
|
|
|
|
!$OMP PARALLEL COPYIN(/T/)
|
|
!$OMP END PARALLEL
|
|
END SUBROUTINE INC_GOOD_SUB
|
|
END SUBROUTINE INC_GOOD
|