From: "David Abrahams" <[EMAIL PROTECTED]> > I need the ability to do interprocess synchronization through file > locking, c.f. Java.File.createNewFile and Java.File.deleteOnExit: ... > On Posix, the first one would be done with > open(..., O_CREAT | O_EXCL) > > and the second, I suppose, would be done with a terminate handler. >
The second feature (delete-on-exit) is supported by OS: - on Win32 using FILE_FLAG_DELETE_ON_CLOSE flag in CreateFile() - on Unix using unlink() standard system call /Pavel _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost