Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Cheng Shao's avatar
    e8afc767
    rts: add hs_try_putmvar_with_value to RTS API · e8afc767
    Cheng Shao authored
    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.
    
    (cherry picked from commit f75e823e)
    e8afc767
    History
    rts: add hs_try_putmvar_with_value to RTS API
    Cheng Shao authored
    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.
    
    (cherry picked from commit f75e823e)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.