int GiD_PostIsThreadSafe( GiD_PostMode format ); // returns -1 on error
Description: returns 1 if format
can be used thread-safe or not. Some HDF5 compilations are not thread-safe. Thread-safe is required to open and write on several separated gidpost files at the same time.
Parameters:GiD_PostMode format
mode = GiD_PostAscii | GiD_PostAsciiZipped | GiD_PostBinary | GiD_PostHDF5
Example:
C/C++
if ( GiD_PostIsThreadSafe( GiD_PostHDF5) == 0) { printf( "gidpost HDF5 is not thread safe, please open and write on a single HDF5 file.\n"); }