caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
Cc: trevor@research.att.com, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] effect of -thread with ocamlc/ocamlopt -c
Date: Wed, 13 Sep 2006 19:40:35 +0200	[thread overview]
Message-ID: <45084293.8010609@inria.fr> (raw)
In-Reply-To: <20060914.013432.41630933.garrigue@math.nagoya-u.ac.jp>

Jacques Garrigue wrote:
> The question is a bit different depending on whether you use system
> threads or vmthreads. [...]

Jacques' explanation is correct: there was a time when the requirement
listed in the manual ("all modules of a multithreaded program must be
compiled with ocamlc -thread ") made sense, because some standard
library modules had different *interfaces* between the non-threaded
and threaded versions.  This is no longer the case: with system
threads, those modules have the same interfaces and the same
implementations, and even with bytecode threads they have different
implementations but identical interfaces.

So, you can safely ignore this sentence in the manual.  The manual
will be updated for the next major release.

- Xavier Leroy


      parent reply	other threads:[~2006-09-13 17:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-12 17:07 Trevor Jim
2006-09-12 21:29 ` [Caml-list] " Jonathan Roewen
2006-09-12 21:34 ` Jonathan Roewen
2006-09-13 14:59   ` Trevor Jim
2006-09-13 16:34     ` Jacques Garrigue
2006-09-13 16:57       ` Trevor Jim
2006-09-13 17:40       ` Xavier Leroy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45084293.8010609@inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=garrigue@math.nagoya-u.ac.jp \
    --cc=trevor@research.att.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).