From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA21459 for caml-redistribution; Wed, 23 Dec 1998 16:04:22 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA25459 for ; Wed, 23 Dec 1998 15:47:20 +0100 (MET) Received: from nenuphar.saclay.cea.fr (nenuphar.saclay.cea.fr [132.166.192.7]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id PAA09681 for ; Wed, 23 Dec 1998 15:47:19 +0100 (MET) Received: from serma.cea.fr (onkyo.serma.cea.fr [132.166.151.167]) by nenuphar.saclay.cea.fr (8.9.1a/8.9.1/CEAnet-relay-5.0.0.1) with ESMTP id PAA28765; Wed, 23 Dec 1998 15:47:51 +0100 (MET) Received: from cea.fr (localhost [127.0.0.1]) by serma.cea.fr (8.8.7/8.8.7) with ESMTP id PAA10921; Wed, 23 Dec 1998 15:44:03 +0100 Sender: weis Message-ID: <368101B2.87BE44C6@cea.fr> Date: Wed, 23 Dec 1998 15:44:03 +0100 From: Laurent Colombet Organization: CEA X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: caml@vega.serma.cea.fr, caml-list@inria.fr Subject: Q: How i can use Mutex and thread .. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Hi, I have the following error : Objective Caml version 2.00 # let forks = Array.create 5 (Mutex.create());; The external function `caml_mutex_new' is not available and i think that it's the same thing with ocmal 2.01 : Objective Caml version 2.01 # let forks = Array.create 5 (Mutex.create());; Reference to undefined global `Mutex' # could somebody help me ? thanks in advance Laurent P.S. Examples of Ocaml programs using thread are welcome