Browse thread
[Caml-list] toplevel with threads
-
Steve Elkins
-
Jacques Garrigue
- Steve Elkins
- Markus Mottl
-
Jacques Garrigue
[
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: | -- (:) |
| From: | Markus Mottl <markus@o...> |
| Subject: | Re: [Caml-list] toplevel with threads |
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