package miou
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Composable concurrency primitives for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
miou-0.10.2.tbz
sha256=85c46f74a17cad5120ae6b7e1b1509d26f119c626c4dec2a05009f8c57b81558
sha512=429d0787439940614b74ebed18582fb1afe31a8f74cc9092b756ec841d33f34bd0e1951bb8d5aa88618d23380debf7a28b4530b9f6afafff1cef7949b3b7bbcf
doc/src/miou/miou_trace.ml.html
Source file miou_trace.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34type event = .. type event += | Spawn of { uid: int ; parent: int ; runner: int ; kind: [ `Async | `Parallel ] } | Spawn_location of { uid: int; filename: string; line: int } | Cancel of int | Cancelled of int | Await of int | Resume of int | Yield of int | Suspend of { name: string; uid: int } | Continue of { name: string; uid: int } | Attach of { ruid: int; puid: int } | Detach of { ruid: int; puid: int } | Run_begin of int | Run_end of int | Run_done of int | Clean of { self: int; child: int } | Still_has_children of int | Not_a_child of { self: int; prm: int } | Resource_leaked of int | Not_owner of { ruid: int; puid: int } let reporter : (event -> unit) Atomic.t = Atomic.make ignore let set_reporter fn = Atomic.set reporter fn let miou_trace = Sys.getenv_opt "MIOU_TRACE" let trace event = match miou_trace with Some _ -> (Atomic.get reporter) event | _ -> ()
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>