caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jonathan_T_Bryant <jtbryant@valdosta.edu>
To: caml-list@inria.fr
Subject: Re: [Caml-list] How INRIA people envision OCaml's parallel future?
Date: Fri, 24 Jun 2005 12:14:58 -0400	[thread overview]
Message-ID: <1119629698.16349.10.camel@starlight.valdosta.edu> (raw)
In-Reply-To: <3d13dcfc050624055027743339@mail.gmail.com>

Well, one of the easiest ways is to extend the Unix library to be able
to include the shared memory and semaphores system calls (shmget, shmat,
shmctl, shmdt, semget, semctl, and a couple of others, too).  That way
heavyweight processes could simulate threads (they CAN take advantage of
multiple processors but can also share data.  That would be the easiest
way to "solve" (if only partially) the problem.

--Jonathan

On Fri, 2005-06-24 at 14:50 +0200, David MENTRE wrote:
> [ Last email, I swear it! ;-) ]
> 
> Hello,
> 
> 2005/6/24, David MENTRE <david.mentre@gmail.com>:
> > Anyway, INRIA people have already worked on those issues and had
> > proposals. It is just that they feel it was not worth the trouble, *at
> > that time*:
> > http://groups.google.com/groups?q=doligez+parallel+GC+caml-list&hl=fr&lr=&selm=fa.dlqoshv.1a66ho7%40ifi.uio.no&rnum=2
> 
> >From private and public emails, it appears that I have fed an old troll. 
> 
> My intent is not to start another thread about GC and threading. My
> intent is to know how, in a short future, I could efficiently use a
> moderately SMP machine by writing pure OCaml code.
> 
> It could be with typed channels between unix processes, by modifying
> the GC, by using concurrent constructs within the language, ... I
> don't know so this is why I'm asking it here.
> 
> Yours,
> d.
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs


  reply	other threads:[~2005-06-24 16:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-23  7:21 David MENTRE
2005-06-23  8:33 ` [Caml-list] " Frédéric Gava
2005-06-23  9:28   ` David MENTRE
2005-06-23 17:20 ` Jonathan_T_Bryant
2005-06-24  8:52   ` Jean-Marie Gaillourdet
2005-06-24  9:36     ` David MENTRE
2005-06-24 12:50       ` David MENTRE
2005-06-24 16:14         ` Jonathan_T_Bryant [this message]
     [not found]           ` <1119630886.18424.1.camel@calaf.rn.informatics.scitech.susx.ac.uk>
2005-06-24 17:02             ` Jonathan_T_Bryant
2005-06-24 16:59         ` Eric Stokes
2005-06-24 18:25           ` XDR and ASN.1 (was: Re: [Caml-list] How INRIA people envision OCaml's parallel future?) David MENTRE
2005-06-24 22:46           ` [Caml-list] How INRIA people envision OCaml's parallel future? Erik de Castro Lopo

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=1119629698.16349.10.camel@starlight.valdosta.edu \
    --to=jtbryant@valdosta.edu \
    --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;
as well as URLs for NNTP newsgroup(s).