eio icon indicating copy to clipboard operation
eio copied to clipboard

Introduce HOFs that wrap functions to run with a locked mutex

Open yawaramin opened this issue 5 months ago • 1 comments

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

yawaramin avatar Mar 22 '24 02:03 yawaramin