Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Thread Local Storage

Nick2
New Contributor I
527 Views

I have a requirement for a large .dll to be re-initialized.  (So, basically, all the SAVE variables, all the DATA variables, all the COMMON variables, need to be reset to their starting values).  I've been using the FreeLibrary() LoadLibrary() WinAPI functions for this purpose, but I've come across Thread Local Storage as an interesting alternative that would possibly work a little bit faster.  (We're not using OpenMP, just a single threaded .dll and its caller).  Is it possible to compile a Fortran .dll to default to Thread Local Storage?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
527 Views

No.

0 Kudos
Reply