Threadprivate
Makes global data private to a thread
- Fortran: COMMON blocks
- C: File scope and static variables
Different from making them PRIVATE
- with PRIVATE global scope is lost
- THREADPRIVATE preserves global scope for each thread
Threadprivate variables can be initialized using COPYIN