On 1/4/2016 6:05 PM, Ganesh Ajjanagadde wrote:
> Personally, I think it should be ok to use rename here for now,
> especially since even projects like Python had trouble with this
> aspect: https://bugs.python.org/issue8828. Someone with greater
> Windows expertise can then examine the validity of
> https://stackoverflow.com/questions/167414/is-an-atomic-file-rename-with-overwrite-possible-on-windows#,
> where there seems to be a lack of clarity, and perhaps make a better
> effort at an atomic rename operation for Windows.

Windows API can lock files from read/write by other procs, which may "emulated"
it... kinda. Probably a bad idea.

- Derek
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to