Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Multi-tasking

Intel_C_Intel
Employee
1,210 Views
Hi,
I am converting an application to be multi-tasking. It has a module with a large number of global variables that are included widely using the USE statement. I need some advice on the pro's and cons of converting the module to Thread Local Storage, or making all the variables AUTOMATIC (and I can't then use the USE statement). The example in the Compaq Visual Fortran samples is not greatly helpful, being aimed at use in a DLL. I would not be using a DLL.

Any advice from people who've done it before or any examples people have of using Thread Local Storage would be greatly appreciated.
0 Kudos
0 Replies
Reply