From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 461D9BC75 for ; Fri, 25 Feb 2005 09:09:46 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j1P87kp0025144 for ; Fri, 25 Feb 2005 09:09:46 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA08293 for ; Fri, 25 Feb 2005 09:07:45 +0100 (MET) Received: from mail.libertysurf.net (webmail-out.tiscali.fr [213.36.80.105]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j1P87W9m025084 for ; Fri, 25 Feb 2005 09:07:45 +0100 Received: from tiscali.fr (192.168.10.57) by mail.libertysurf.net (7.1.026) id 41A46CD90029C161 for caml-list@inria.fr; Fri, 25 Feb 2005 09:07:32 +0100 Date: Fri, 25 Feb 2005 09:07:32 +0100 Message-Id: Subject: =?iso-8859-1?Q?Ocaml_multithreaded_shared_library?= MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "=?iso-8859-1?Q?matthieu.dubuget@libertysurf.fr?=" To: "=?iso-8859-1?Q?caml-list?=" X-XaM3-API-Version: 3.2 R18 (B34 pl1) X-type: 0 X-SenderIP: 81.50.108.216 X-Spam: no; 0.00; ocaml:01 matthieu:01 dubuget:01 matthieu:01 dubuget:01 api:01 ocaml:01 caml-list:01 ...:98 ...:98 thread:02 thread:02 caml:02 dll:02 seems:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: Hello!=0D=0A=0D=0AI did one multithreaded Caml library.=0D=0A=0D=0AThe AP= I allow to:=0D=0A- create one thread=0D=0A- stop it=0D=0A- get informatio= n from it=0D=0A- ...=0D=0A=0D=0AWhen called from an Ocaml test program, n= o problem:=0D=0Aeverything works as expected.=0D=0A=0D=0AMy naive idea wa= s to turn it into a shared library (well, a=0D=0ADLL because the real pro= ject is targeted on windows OS, but=0D=0Athe problem is the same on linux= ), and call it from another=0D=0Alanguage. Let say at least for tests.=0D= =0A=0D=0ABut it does not work because the Ocaml thread seems to stop=0D=0A= working when the function that created it returns.=0D=0A=0D=0AIs this way= to work possible or have I to change my idea?=0D=0A=0D=0ASalutations=0D=0A= =0D=0AMatthieu=0D=0A=0D=0APS Sorry for the footer added by my provider: I= 'm registered=0D=0Ato Caml-list with my personnal address, but I'm at wor= k now...=0D=0A=0D=0A=0A************************ ADSL JUSQU'A 8 MEGA + 3 M= OIS DE TELEPHONE GRATUIT ************************=0AL'ultra haut d=E9bit = =E0 15EUR/mois seulement ! Et vous t=E9l=E9phonez gratuitement en France = vers les postes fixes,=0Ahors num=E9ros sp=E9ciaux pendant 3 mois.=0APour= profiter de cette offre exceptionnelle, cliquez ici : http://register.ti= scali.fr/adsl/ (voir conditions sur le site)=0A