Introduce HOFs that wrap functions to run with a locked mutex #716
Completed
✅ (analysis) (passed)
✅ (lint-doc) (passed)
✅ (lint-fmt) (passed)
✅ (lint-opam) (passed)
✅ (lower-bound) (passed)
✅ alpine-3.19-5.2_opam-2.1 (passed)
✅ debian-11-5.2_opam-2.1 (passed)
✅ debian-12-5.1_opam-2.1 (passed)
✅ debian-12-5.2+flambda_opam-2.1 (passed)
✅ debian-12-5.2_arm32_opam-2.1 (passed)
✅ debian-12-5.2_arm64_opam-2.1 (passed)
✅ debian-12-5.2_opam-2.1 (passed)
✅ debian-12-5.2_ppc64_opam-2.1 (passed)
✅ debian-12-5.2_s390x_opam-2.1 (passed)
✅ debian-12-5.2_x86_32_opam-2.1 (passed)
✅ fedora-38-5.2_opam-2.1 (passed)
✅ fedora-39-5.2_opam-2.1 (passed)
✅ fedora-40-5.2_opam-2.1 (passed)
✅ freebsd-5.2_opam-2.1 (passed)
✅ macos-homebrew-5.2_arm64_opam-2.1 (passed)
✅ macos-homebrew-5.2_opam-2.1 (passed)
✅ opensuse-15.5-5.2_opam-2.1 (passed)
✅ ubuntu-20.04-5.2_opam-2.1 (passed)
✅ ubuntu-22.04-5.2_opam-2.1 (passed)
✅ ubuntu-23.04-5.2_opam-2.1 (passed)
✅ ubuntu-23.10-5.2_opam-2.1 (passed)
✅ ubuntu-24.04-5.2_opam-2.1 (passed)