From: Gerd Stolpmann <gerd@gerd-stolpmann.de>
To: Kip Macy <kip.macy@gmail.com>
Cc: Alex Baretta <alex@barettadeit.com>, Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Thread and Unix select
Date: Fri, 25 Mar 2005 21:58:43 +0100 [thread overview]
Message-ID: <1111784324.5881.135.camel@localhost.localdomain> (raw)
In-Reply-To: <b1fa291705032511115824a883@mail.gmail.com>
Am Freitag, den 25.03.2005, 11:11 -0800 schrieb Kip Macy:
> 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.
Once upon a time, this was the intention of Thread.select. In current
ocaml, one can also call Unix.select, and only the calling thread is
blocked.
Gerd
> -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
> >
>
> _______________________________________________
> 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
>
--
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany
gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de
------------------------------------------------------------
prev parent reply other threads:[~2005-03-25 20:58 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 ` [Caml-list] " Kip Macy
2005-03-25 20:58 ` Gerd Stolpmann [this message]
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=1111784324.5881.135.camel@localhost.localdomain \
--to=gerd@gerd-stolpmann.de \
--cc=alex@barettadeit.com \
--cc=caml-list@inria.fr \
--cc=kip.macy@gmail.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