This is the fundamental design flaw of Windows and they think it's a feature...https://twitter.com/jsnover/status/976904887370788865 …
-
-
Replying to @RichFelker
The file-oriented design of UNIX leads to such completely asinine misfeatures as the inability to have shared memory clean itself up as soon as the last process using it terminates.
1 reply 0 retweets 0 likes -
Replying to @Myriachan
This is completely untrue. Just unlink it as soon as you create it and pass the fd around.
1 reply 0 retweets 0 likes -
Replying to @RichFelker
OK, but then how do you clean up the UNIX-domain socket used for FD passing? Exact same problem.
2 replies 0 retweets 0 likes -
Replying to @Myriachan @RichFelker
Also, this doesn't help if you get killed between sum_open and unlink.
1 reply 0 retweets 0 likes -
Replying to @Myriachan
In that case it's at worst a zero-size file with random junk name. And you shouldn't kill -9 stuff anyway.
1 reply 0 retweets 0 likes -
Replying to @RichFelker
And in Windows, it disappears entirely. Windows has the better model.
2 replies 0 retweets 0 likes
This is a made-up distinction. Linux nerds "fixed" it with memfd_create, but the fix has absolutely zero practical benefits and is linux-specific not portable.
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.