Quote Originally Posted by S_M_A View Post
The "system" is process safe if you make it so. If you open a file as r/w shared well it's going to be that...
Yes GetTempFilename is windows. In Linux you can use mkstemp or you can use boost::filesystem::unique_path for both systems.
Yes another alternative would be to use an flock() but why use it when synchronization can be avoided. Anyway I like appending the output file name with an extension. And it works just fine.
Thanks all