Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Thorsten Ohl <ohl@crunch.ikp.physik.th-darmstadt.de>
To: caml-list@inria.fr
Cc: Xavier Leroy <Xavier.Leroy@inria.fr>
Subject: Re: Thread library for ocamlopt?
Date: Fri, 29 Aug 1997 20:01:22 +0200	[thread overview]
Message-ID: <9708291801.AA05339@crunch> (raw)
In-Reply-To: <199708281130.NAA25330@pauillac.inria.fr>

Xavier Leroy <Xavier.Leroy@inria.fr> writes:

> We have such an implementation of Caml threads for Win32
> (bytecode only).  Some work is in progress to extend it to
> Posix threads and to the native-code compiler.

This is good news and I'm looking forward to it!

> * Available only on Unix systems that provide fully conformant
> Posix 1003.1c threads, e.g. Solaris 2.5, Digital Unix 4.0, or
> Linux with LinuxThreads, but not HPUX, SunOS, nor earlier
> versions of Digital Unix, for instance.

Couldn't the implementation on the latter three OSs emulate the
semantics (without the performance benefit, of course) with the old
threads?  Then programs would remain portable and users of
multiprocessor machines running the former three OSs could start
chasing around the FORTRAN crowd :-).

> * Preemption of long-running threads can only occur at
> allocation points (for reasons relevant to both the garbage
> collector and the handling of signals in ocamlopt), which can
> result in a relatively rough scheduling for compute-bound
> threads.

By your high standards it will be considered a nasty hack, but what
will prevent us users from adding spurious allocation points, if the
scheduling turns out to be too rough in a practical case?

Cheers,
-Thorsten
-- 
Thorsten Ohl, Physics Department, TH Darmstadt --- PGP: AF 38 FF CE 03 8A 2E A7
http://crunch.ikp.physik.th-darmstadt.de/~ohl/ -------- 8F 2A C1 86 8C 06 32 6B





  reply	other threads:[~1997-09-01  8:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-08-27  9:07 Ken Wakita
1997-08-28 11:30 ` Xavier Leroy
1997-08-29 18:01   ` Thorsten Ohl [this message]
1997-09-01 15:24     ` Xavier Leroy

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=9708291801.AA05339@crunch \
    --to=ohl@crunch.ikp.physik.th-darmstadt.de \
    --cc=Xavier.Leroy@inria.fr \
    --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