<div dir="auto">Agreed. For low level crashes any ambiguity leads to a lot of erroneous tail chasing </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 20, 2021 at 6:13 PM Viktor Dukhovni <<a href="mailto:ietf-dane@dukhovni.org">ietf-dane@dukhovni.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Jun 20, 2021 at 06:54:32AM -0700, David Banas wrote:<br>
<br>
> Wrt/ `withForeignPtr`, you are suggesting that I use it, not that I<br>
> avoid it; correct?<br>
<br>
Yes, it tries to ensure that memory is not released too early.<br>
<br>
> Wrt/ “pinned memory”, could you give me a little more explanation?<br>
<br>
I'd like to repeat my suggestion that you should post more details about<br>
your use-case.  The abstract discussion may waste your time on topics<br>
that are not relevant to you.<br>
<br>
-- <br>
    Viktor.<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div></div>