mirror of
https://github.com/ocaml-multicore/eio.git
synced 2025-10-08 00:03:33 -04:00
Some arguments in favour of this: - This is the most flexible arrangement (you can add yields gets the other combinations). - The order seems a bit more natural (the README examples look better). - Might be better for the cache in some cases (domainslib works this way). - Means that `Fibre.both f g` starts `f` and `g` in similar contexts. Previously, `f` started before any queued items, while `g` started after, which was a bit inconsistent. This also adds some documentation about scheduling order to the ocamldoc (note that the previous documentation for `fork` was wrong) and adds a `rationale.md` file explaining the choice.