This is the fundamental design flaw of Windows and they think it's a feature...https://twitter.com/jsnover/status/976904887370788865 …
Whenever you have named/addressable resources someone has to be responsible for ownership & lifetime of name.
-
-
UNIX needs a flag to open, bind and shm_open that says, delete link if the last handle that was opened through that link is closed.
-
TCP sockets work this way, so why can't UNIX optionally also?
-
This has inherent race condition flaws.
-
People actually spend effort working around them in network code.
-
And people like me spend effort writing code to clean up after a process crashes.
-
Yes, that's a normal part of using Windows... :-)
-
Windows programs that crash don't leave their shared memory around.
-
Neither do unix ones unless you're using backwards programming idioms. shm_open+shm_unlink is atomic for all practical purposes (unlike many other situations where non-atomicity creates races).
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.