caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christophe Raffalli <raffalli@univ-savoie.fr>
To: Jonathan Bryant <jtbryant@valdosta.edu>
Cc: ocaml_beginners@yahoo.com, caml-list@inria.fr
Subject: Re: [Caml-list] Threads
Date: Sat, 11 Jun 2005 09:46:19 +0200	[thread overview]
Message-ID: <42AA96CB.2050706@univ-savoie.fr> (raw)
In-Reply-To: <1118426167.17936.32.camel@chunky.valdosta.edu>

Jonathan Bryant a écrit :

>I'm confused.  In the documentation on the threads library it says that
>the threads implementation is shared time on only a single processor. 
>Is that for VM and system threads, or are the POSIX threads able to take
>advantage of multiple processors?  I would think they would be able to
>because (unless I'm mistaken) they're just wrappers around the C system
>calls...
>
>  
>
No there is a global mutex for caml thread. The only thing you can do is 
have one Caml thread and many C threads running in the same time.

This starts really to be an annoying limitation of the Caml runtime now 
that you can have easily two dual core processors in one machine ... 
(means four CPU)





>--Jonathan
>
>_______________________________________________
>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-11  7:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-10 17:56 Threads Jonathan Bryant
2005-06-11  7:46 ` Christophe Raffalli [this message]
2005-06-11 14:02   ` [Caml-list] Threads james woodyatt
2005-06-11 21:03     ` Christophe Raffalli
  -- strict thread matches above, loose matches on Subject: below --
2009-09-08 17:33 threads ygrek
2009-09-08 23:20 ` [Caml-list] threads Philippe Wang
2009-09-10 18:17   ` ygrek
2002-03-20  2:59 Francois Rouaix
2002-03-20  8:11 ` Remi VANICAT
2002-03-20 10:54 ` Sylvain LE GALL
2002-03-22 14:55 ` 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=42AA96CB.2050706@univ-savoie.fr \
    --to=raffalli@univ-savoie.fr \
    --cc=caml-list@inria.fr \
    --cc=jtbryant@valdosta.edu \
    --cc=ocaml_beginners@yahoo.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).