ocaml-multicore / eio

Effects-based direct-style IO for multicore OCaml
Other
548 stars 66 forks source link

Preserve backtraces across Domain_manager.run #571

Closed talex5 closed 1 year ago

talex5 commented 1 year ago

Stdlib.Domain.join loses the backtrace, so take a copy in the child domain and re-raise in the parent.

avsm commented 1 year ago

This seems like its worth reporting in upstream OCaml as well; at least as a documentation issue.