-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split Lin interpretations #66
Comments
Ideally a design would
This way
|
I've begun to experiment with building the There is the question of the sequential |
Good point! 👍 |
Fixed in #164 |
The MacOS segfault that KC just fixed in ocaml/ocaml#11250 reveals that the
threads
module performs a number of side-effects when loaded. By having all three of our Lin interpretations (Domain,Thread,Fiber) in the same module requiringthreads
(even though it isn't used) this meansthread
is always loaded and its callbacks are registered - see https://github.com/ocaml/ocaml/blob/37dec39a627b3b8abcf84c2463c64d2336b2bee6/otherlibs/systhreads/thread.ml#L87-L98The latter is naturally less serious than the first.
We should consider splitting the three interpretations up into separate files with separate dependencies such that only the Lin
Thread
interpretation requiresthreads
.The text was updated successfully, but these errors were encountered: