From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA25385; Sun, 14 Apr 2002 12:48:59 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 MAA28308 for ; Sun, 14 Apr 2002 12:48:58 +0200 (MET DST) Received: from fichte.ai.univie.ac.at (fichte.ai.univie.ac.at [131.130.174.156]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g3EAmvr26196 for ; Sun, 14 Apr 2002 12:48:57 +0200 (MET DST) Received: (from markus@localhost) by fichte.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) id MAA06369; Sun, 14 Apr 2002 12:48:18 +0200 Date: Sun, 14 Apr 2002 12:48:18 +0200 From: Markus Mottl To: Jacques Garrigue Cc: sgelkins@bellsouth.net, caml-list@inria.fr Subject: Re: [Caml-list] toplevel with threads Message-ID: <20020414104818.GA5941@fichte.ai.univie.ac.at> Mail-Followup-To: Jacques Garrigue , sgelkins@bellsouth.net, caml-list@inria.fr References: <87ads7ubr2.fsf@d8tv0m01.rdu.bellsouth.net> <20020414105943P.garrigue@kurims.kyoto-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020414105943P.garrigue@kurims.kyoto-u.ac.jp> User-Agent: Mutt/1.3.26i Organization: Austrian Research Institute for Artificial Intelligence Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sun, 14 Apr 2002, Jacques Garrigue wrote: > This also works for threads, but not always: > > $ ocaml -I +threads > Objective Caml version 3.04 > > # #load"unix.cma";; > # #load"threads.cma";; Btw., another way to do it, which people are often not aware of, is to use the "directory" directive instead of passing a command line argument: > $ ocaml > Objective Caml version 3.04 # #load "unix.cma";; # #directory "+threads";; # #load "threads.cma";; This is very useful in interpreted scripts. Regards, Markus Mottl -- Markus Mottl markus@oefai.at Austrian Research Institute for Artificial Intelligence http://www.oefai.at/~markus ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners