Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Frank Christoph <christo@nextsolution.co.jp>
To: caml-list@inria.fr
Subject: threads library in Objective Caml
Date: Tue, 15 Apr 1997 12:51:38 +0900	[thread overview]
Message-ID: <199704150351.MAA00453@sparc3.co.jp> (raw)
In-Reply-To: <E0wGiAL-0003qE-00@heaton.cl.cam.ac.uk>

>>>>> "Pawel" == Pawel Wojciechowski <Pawel.Wojciechowski@cl.cam.ac.uk> writes:
> The potential advantage of threads is that on a multiprocessor shared memory
> machine, each thread can run on a different processor. However, in the
> (O)Caml documentation is written as follows: "The `threads' library is
> implemented by time-sharing on a single processor. It will not take
> advantage of multi- -processor machines. Using this library will therefore
> never make programs run faster".

You make it sound like the only point of threads is to take advantage of
parallelism when the program is running on a multiprocessor machine.  A lot of
people use threads for reasons that have nothing to do with (objective notions
of) performance, for example in GUI programming.  By your logic, there
would seem to be no point in emulating concurrency on a sequential machine at
all.

-- 
Frank Christoph                 Next Solution Co.      Tel: 0424-98-1811
christo@nextsolution.co.jp                             Fax: 0424-98-1500





  parent reply	other threads:[~1997-04-16 11:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-14  9:35 Pawel Wojciechowski
1997-04-14 17:06 ` Francois Rouaix
1997-04-15  3:51 ` Frank Christoph [this message]
1997-04-15  8:41 ` pcuoq

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=199704150351.MAA00453@sparc3.co.jp \
    --to=christo@nextsolution.co.jp \
    --cc=caml-list@inria.fr \
    /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