Agreed. For low level crashes any ambiguity leads to a lot of erroneous tail chasing 

On Sun, Jun 20, 2021 at 6:13 PM Viktor Dukhovni <ietf-dane@dukhovni.org> wrote:
On Sun, Jun 20, 2021 at 06:54:32AM -0700, David Banas wrote:

> Wrt/ `withForeignPtr`, you are suggesting that I use it, not that I
> avoid it; correct?

Yes, it tries to ensure that memory is not released too early.

> Wrt/ “pinned memory”, could you give me a little more explanation?

I'd like to repeat my suggestion that you should post more details about
your use-case.  The abstract discussion may waste your time on topics
that are not relevant to you.

--
    Viktor.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.