Version française
Home     About     Download     Resources     Contact us    
Browse thread
Fw: [Caml-list] Thread library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xleroy@p...>
Subject: Re: Fw: [Caml-list] Thread library
> Ok, after a long search I did find where it was written. After installation
> of ocamelwin one has to read the readme win file .
> 
> There one says that there are no threads  for Cygwin Ocamel  but there are
> threads for Mingw Ocamel and of course for MVSC6.0 Ocamel .
> 
> I hope this information is still correct allthough I don't understand the
> why: what is the difference between Mingw and Cygwin?

The Cygwin port of OCaml is just the OCaml Unix sources compiled and
linked against the Cygwin "Unix compatibility" libraries.  The latter
do not (yet?) provide a Unix-compatible thread library, hence no
threads in OCaml-Cygwin.

The Mingw port of OCaml is the OCaml Win32 sources compiled by
Cygwin/Mingw and linked against the native Win32 libraries, which
include Win32 threads.  Thus, OCaml-Mingw supports threads via Win32.

- Xavier Leroy
-------------------
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