[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Gerd Stolpmann <gerd@g...> |
| Subject: | Re: [Caml-list] Thread and Unix select |
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 ------------------------------------------------------------