Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2002-09-18 (18:06)
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 Archives:
Bug reports: FAQ:
Beginner's list: