Skip to content
  • Cheng Shao's avatar
    f75e823e
    rts: add hs_try_putmvar_with_value to RTS API · f75e823e
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    This commit adds hs_try_putmvar_with_value to rts. It allows more
    flexibility than hs_try_putmvar by taking an additional value argument
    as a closure to be put into the MVar. This function is used & tested
    by the wasm backend runtime, though it makes sense to expose it as a
    public facing RTS API function as well.
    f75e823e
    rts: add hs_try_putmvar_with_value to RTS API
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    This commit adds hs_try_putmvar_with_value to rts. It allows more
    flexibility than hs_try_putmvar by taking an additional value argument
    as a closure to be put into the MVar. This function is used & tested
    by the wasm backend runtime, though it makes sense to expose it as a
    public facing RTS API function as well.
Loading