• Ben Gamari's avatar
    rts: Add isPinnedByteArray# primop · 310371ff
    Ben Gamari authored
    Adds a primitive operation to determine whether a particular
    `MutableByteArray#` is backed by a pinned buffer.
    Test Plan: Validate with included testcase
    Reviewers: austin, simonmar
    Reviewed By: austin, simonmar
    Subscribers: thomie
    Differential Revision: https://phabricator.haskell.org/D2217
    GHC Trac Issues: #12059
Main.hs 44.3 KB