Replies: 1 comment
-
I think we should make sure this works --- i.e. consider any loss of safety when switching to multicore to be a bug (and fix it). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is the code generated for concurrency policy
`Lwt_preemptive
, specifically only the portion generated by Ctypes, safe ifLwt_preemptive
switches from current OCaml threads to the fully-parallel runtime in multicore? I would imagine so, but I'd like to confirm.The Ctypes user's bound code that actually runs is a separate matter outside the scope of the question that I am intending :)
Beta Was this translation helpful? Give feedback.
All reactions