eio
eio copied to clipboard
Introduce HOFs that wrap functions to run with a locked mutex
Introduce wrappers that can turn any function f : a -> b
into a new function that runs with a wrapped mutex. a
can even be a mutable value that can then be modified only while the mutex is held.
Fix #336