[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-11-14 (02:42) |
From: | xuzq <zuoqian@g...> |
Subject: | perl4caml crashed with threads |
Hi, On my debian sid box,the following prog core dump.What's wrong?Is it all right on your machine or is it a bug? open Printf open Perl let test ()= try let sv=Perl.eval "3+7" in let r=int_of_sv sv in printf "result=%i" r with _->printf "error" let ()=Thread.join (Thread.create test ()) The command line: ocamlc -thread -I +perl /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a perl4caml.cma unix.cma threads.cma test.ml -o test Version: Ocaml 3.08.3 & 3.09.0 perl4caml 0.9.3 regards.