Re:Compiler bug? Linker bug? Windows Kernel bug
by zuzun on Monday February 26, 2018 @07:41AM
(#16464857)
Your comment contains no details whatsoever, then you described perfectly sane mmap behavior, so what do I know?
[ Parent
| on HN ]
Re:Compiler bug? Linker bug? Windows Kernel bug
by throwaway2048 on Monday February 26, 2018 @11:37AM
(#16466563)
Windows dosent have the concept of an inode, so there is nothing for a file handle (what windows calls a file descriptor) to bind to except a file name, this means that a filename cannot be removed while it is being accessed somehow.
This is the cause of a lot of woes on windows, such as random access denied errors when attempting to delete stuff, and what forces a reboot when you update nearly anything on windows.
One of my favourite things related to this is that the Windows XP explorer had a bug where clicking on a file would generate a dynamic preview of an audio/video file in the sidebar, which would lock the file, rendering it impossible to delete because you had to click on it first....