[Haskell-cafe] Discussion: The CLOEXEC problem
mail at nh2.me
Mon Aug 31 08:05:46 UTC 2015
On 31/08/15 09:28, David Turner wrote:
> Exactly. As I said earlier, if you forget to clear FD_CLOEXEC when you
> meant to then your program breaks loudly and obviously; if you forget to
> *set* FD_CLOEXEC then the bug is much quieter and more subtle.
I think the example given by Donn (a lock silently being cleared too
early) is a case where it does not break loudly and obviously.
I agree with the second part though that bugs related to leaking tend to
be quieter and more subtle in general.
More information about the Haskell-Cafe