Hi, SWMR has not been tested on Windows. The existing SWMR test program is a shell script that has not been converted to a scheme usable on Windows. We've also not tested it on Cygwin or MinGW at this time.
I'd have to look more carefully at the code for the atomic test, but I would not be surprised if it failed on NTFS due to a POSIX-Win32 translation issue in the Cygwin libraries, even if it should pass. Windows (and Cygwin) support is something we'll be investigating, but for right now we're focusing on true POSIX platforms as we move the feature into 1.10.0. Cheers, Dana > -----Original Message----- > From: Hdf-forum [mailto:[email protected]] On Behalf Of > Baker, William L Jr CIV USARMY MEDCOM AISR (US) > Sent: Thursday, June 25, 2015 2:57 PM > To: [email protected] > Subject: [Hdf-forum] SWMR and Win32 > > I attempted to compile current SVN of SWMR branch inside Cygwin using both > the CYGWIN and MINGW32 versions of GCC. MINGW32 fails, but perhaps no > attempt has been made to support it. It probably needs some compiler > flags to tell it to behave like Windows when deciding which files to > #include. > > CYGWIN failed the "ATOMIC" test on local disk NTFS/Windows 7. > > To be useful, SWMR needs to run on file systems where this is an issue. > So my question is: what is the expected path forward? Does this become a > non-issue when journaling is integrated? Do we need file systems locks? > > Thanks. > > /bbaker > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org > Twitter: https://twitter.com/hdf5 _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
