Is the code generated for concurrency policy `Lwt_preemptive, specifically only the portion generated by Ctypes, safe if Lwt_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 :)
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 :)