Steve, TimP, others,
This is not an show stopper as I have a work around
I have a multi-threaded OpenMP Fortran Application. That uses ThreadPrivate data. This is an app that I have been using/developing for years. The OpenMP threads do have seperate ThreadPrivate data. Recently I have had the need to introduce an additional non-OpenMP helperthread(s) created with CreateThread and I noticed a problem (un-expected quirk)....
I have been for years assuming the IVF ThreadPrivate was implimented similar to C __declspec(thread)... but apparently this is not so. Non-OpenMP threads created using CreateThread seem to inherit the VM of the thread issuing CreateThread, which means the new thread "inherits" the mapping of the thread private data of its creator and is not given the same VM of the creator with the exception of a different mapped portion of the VM for the thread private data (as is the case for __declspec(thread) ... declared data).
Is this a known issue? I this an issue?
Any comment on this would be appreciated.
Using IVF 11.0.066
This may be different in 12.n.mm