Q: How i can use Mutex and thread ..

From: Laurent Colombet (Laurent.Colombet@cea.fr)
Date: Wed Dec 23 1998 - 15:44:03 MET


Date: Wed, 23 Dec 1998 15:44:03 +0100
From: Laurent Colombet <Laurent.Colombet@cea.fr>
To: caml@vega.serma.cea.fr, caml-list@inria.fr
Subject: Q: How i can use Mutex and thread ..

 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



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:17 MET