Guillaume Munch-Maccagnoni
Guillaume Munch-Maccagnoni
At https://discuss.ocaml.org/t/affect-composable-concurrency-primitives-for-ocaml-5-0/9430 you propose to implement cancellation/abortion as follows: > Explicit fiber aborts raise the Abort exception in fibers. Combined with a disciplined use of Fun.protect a disciplined use of...
This restores some bit left out from the previous systhreads implementation. I would like to have this in 5.0. The ability to call `caml_thread_initialize` from Rust directly after calling `caml_startup`...
Follow-up to #11271 (cc @Engil, @kayceesrk). Targets 5.0 since this appears to fix domain shutdown. Details in the individual commit logs. No change entry needed.
When attempting to use `Is_young` in C code, I get the following error: ``` /home/gm/.opam/5.0.0+trunk/lib/ocaml/caml/mlvalues.h:214:28: error: ‘caml_minor_heaps_end’ undeclared (first use in this function); did you mean ‘caml_minor_tables’? 214 | (char...
Follow-up to #11271, #11385 and #11393 (cc @Engil, @kayceesrk). Targets 5.1 (does not seem to fix important bugs). Details in the individual commit logs. Can you please have a look...
This is a follow-up to #11403, which noticed that the domain threads initialization code runs from OCaml code. Thus there is an interval during which arbitrary OCaml code can run...
Here is for your consideration a simplification of the remaining commits at #11057 (after #11095 and #11190). This PR includes various fixes for soundness and performance of async actions. In...
One should audit the new runtime to see if any other places in the new runtime need volatile casts (`Field` was only meant as an example of problem). According to...
Calling latex with the -shell-escape option creates a security hazard. With caching, it is now possible to input pre-processed code listings on platforms that forbid the -shell-escape option. I wonder...
The static initialization code below appears to be thread-unsafe in the presence of multiple domains: https://github.com/ocaml/ocaml/blob/712ee62e5abde7d7871f6345c1d2b917c6380596/runtime/array.c#L255-L259