lwt
lwt copied to clipboard
Lwt 6 (NOT FOR MERGE AS IS)
Compatibility issues:
-
Lwt_preemptive.run_in_mainreplaced byLwt_preemptive.run_in_domain.- Should we still provide a
run_in_mainwhich makes assumption about a default domain? The main purpose would be to allow old applications to keep working in a single-domain way. And for that it'd make sense. Although it's worrying that some code written for multi-domain Lwt specifically might be usingrun_in_mainaccidentally. Maybe a runtime check that crashesrun_in_mainif there are more than one scheduler running or some other such condition.
- Should we still provide a
-
Lwt_unix.*notification*now take an additionalDomain.idparameter. Same suggestion asLwt_preemptive.run.- Should we offer automatic migration (ocamlmig or other) to add
Domain.selfas a parameter?
- Should we offer automatic migration (ocamlmig or other) to add
-
Lwt_unix.runremoval: it's been deprecated for a long time in favour ofLwt_main.run(it can't be kept because it'd create circular dependencies.- Should we offer automatic migration?
-
Lwt_engine.fake_eventremoval: ACTUALLY LETS RESTORE IT -
Lwt_main.*hooks*removal: deprecated, exposed inernal implementation detail which is incompatible with new implementation. Should be replaced by uses of corresponding submodules.- Should we offer automatic migration?