caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kip Macy <kip.macy@gmail.com>
To: Alex Baretta <alex@barettadeit.com>
Cc: Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Thread and Unix select
Date: Fri, 25 Mar 2005 11:11:58 -0800	[thread overview]
Message-ID: <b1fa291705032511115824a883@mail.gmail.com> (raw)
In-Reply-To: <4242D096.9010701@barettadeit.com>

Without looking at the implementation, I would guess that a
Unix.select with a non-zero timeout would cause the whole process to
block - whereas an equivalent call to Thread.select would only cause
the calling thread to block.
              -Kip


On Thu, 24 Mar 2005 15:37:10 +0100, Alex Baretta <alex@barettadeit.com> wrote:
> What are the differences between Unix.select and Thread.select? Is it
> safe to use the former in a multithreaded program?
> 
> Alex
> 
> --
> *********************************************************************
> http://www.barettadeit.com/
> Baretta DE&IT
> A division of Baretta SRL
> 
> tel. +39 02 370 111 55
> fax. +39 02 370 111 54
> 
> Our technology:
> 
> The Application System/Xcaml (AS/Xcaml)
> <http://www.asxcaml.org/>
> 
> The FreerP Project
> <http://www.freerp.org/>
> 
> _______________________________________________
> 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-03-25 19:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-24 14:37 Alex Baretta
2005-03-25 19:11 ` Kip Macy [this message]
2005-03-25 20:58   ` [Caml-list] " Gerd Stolpmann

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=b1fa291705032511115824a883@mail.gmail.com \
    --to=kip.macy@gmail.com \
    --cc=alex@barettadeit.com \
    --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).