Hello!
Many (all?) contemporary OSes have notion of "Temporary file" -- a file
that is automatically deleted when the last handle to it is closed (see
http://man7.org/linux/man-pages/man3/tmpfile.3.html,
FILE_FLAG_DELETE_ON_CLOSE in
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx).
Currently it is not possible to specify that FH5Fcreate should open the
file as temporary, nor it is possible to pass existing file handle.
However I believe that temp HDF5 files would be valuable feature:
1) Robust: file is deleted even if program crashes/ends unexpectedly.
2) Easy-to-use: file is deleted when but not earlier than the last
reference to a file object is closed.
Are there any plans to support temp files in HDF5 library, or maybe
there is already some way to create them in released version?
Best wishes,
Andrey Paramonov
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org