
20 Jun
2021
20 Jun
'21
9:54 a.m.
Thank you, Viktor! Wrt/ `withForeignPtr`, you are suggesting that I use it, not that I avoid it; correct? Wrt/ “pinned memory”, could you give me a little more explanation? Thanks, -db :)
On Jun 20, 2021, at 5:00 AM, haskell-cafe-request@haskell.org wrote:
Thus functions like `withForeignPtr` which try to make sure the the referenced memory is not released too early.
Buffer pointers should be to pinned memory, ...