macOS and Windows both essentially have the concept of a “weak file descriptor” (in the former case due to a kernel bug): file descriptors that you must hold open in the creator process when you transfer them or they get corrupted somehow. These are the most evil things.
-
Show this thread
-
Replying to @pcwalton
Ooh! I’ve been looking for a way to simulate windows fd semantics on macOS (after losing a bunch of time tracking down bizarre lock bugs that only showed up on windows under conditions we didn’t CI there). Seems doable in dtrace with SIP off, but that’s not ideal.
1 reply 0 retweets 1 like
Replying to @ihnorton
I don’t *think* you’ll hit them unless you’re creating file descriptors that refer to GPU memory.
6:35 PM - 13 Sep 2019
0 replies
0 retweets
1 like
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.