package memprof-limits
Memory limits, allocation limits, and thread cancellation
Install
Dune Dependency
Authors
Maintainers
Sources
memprof-limits-v0.2.1.tar.gz
md5=15026b85944ee405fe6784cc9f1575bb
sha512=6ae138bc582911ab221f8c8a4a461b58bfcb837933b989ea9f10ef8cdd54a445c300f41fa4a0ec70746a27c24ccae5598666c98195a8400bc7c5c37e9327480b
doc/memprof-limits/Memprof_limits/Resource_bind/index.html
Module Memprof_limits.Resource_bind
Source
Open Memprof_limits.Resource_bind
to enable the let&
binder for resources.
RAII-style notation for resources cleaned-up at the end of scope. Example:
open Memprof_limits.Resource_bind
let with_my_resource x =
Memprof_limits.Masking.with_resource ~acquire x ~release
let f x =
let& resource = with_my_resource x in
…
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>