- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page