You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 2344 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Roberto Di Cosmo
Version: 3.07 etc.
OS: Linux
Submission from: berny-5-81-56-44-163.fbx.proxad.net (81.56.44.163)
When trying to marshal a mutex, to send it over a channel to another process,
one gets
- no error, everything works fine if using the -thread option
- a marshalling error (abstract value) if using the -vmthread option
This happens with and without the Marshal.Closures flag, and in my test case, I
am marshaling between two identical programs.
This is clearly a bug, since the user-level behaviour of a program is not well
defined.
If I can try to influence the decision on how to fix it, I would really really
like to keep the -thread behaviour (no error) since this allows me to marshal
functions over a channel bewteen two identical binaries... functions that do
use mutexes.
Original bug ID: 2344
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Roberto Di Cosmo
Version: 3.07 etc.
OS: Linux
Submission from: berny-5-81-56-44-163.fbx.proxad.net (81.56.44.163)
When trying to marshal a mutex, to send it over a channel to another process,
one gets
This happens with and without the Marshal.Closures flag, and in my test case, I
am marshaling between two identical programs.
This is clearly a bug, since the user-level behaviour of a program is not well
defined.
If I can try to influence the decision on how to fix it, I would really really
like to keep the -thread behaviour (no error) since this allows me to marshal
functions over a channel bewteen two identical binaries... functions that do
use mutexes.
To simplify reproducing the bug, you can download a short program from
http://www.dicosmo.org/ocaml/bug032004.tgz, untar it, and just type "make".
--Roberto
The text was updated successfully, but these errors were encountered: