From: mishkin@atria.com (Nathaniel Mishkin)
Subject: Re: Threads and shared memory
Date: Thu, 23 Sep 1993 13:09:32 GMT [thread overview]
Message-ID: <CDt5vw.G7x@atria.com> (raw)
In-Reply-To: 27qtlm$o3g@liege.ics.uci.edu
Douglas C. Schmidt (schmidt@liege.ics.uci.edu) wrote:
: Right, we are aware of that. The next question, then, is
: whether it is permissible to "select()" on arbitrary handles other
: than sockets(). If so, then NT exhibits more orthogonal "selection"
: capabilities than UNIX; if not, then NT has the same problem as UNIX
: i.e., multiple mechanisms each of which only cover a portion of the
: desired solution space.
Not exactly. I.e., the general selection primitive needn't be
select() itself. I can imagine some reason that you can't call select
on, say, a console or a named pipe but _could_ call
WaitForMultipleObjects() on either of those or a socket. For example,
in the course of its implementation, select() might do some
socket-specific operation for some reason related to how the Winsock
API is defined to work. This could make it fail on non-sockets.
Nevertheless, the WaitForMultipleObjects could work on sockets.
--
-- Nat Mishkin
Atria Software, Inc.
mishkin@atria.com
next prev parent reply other threads:[~1993-09-23 13:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-09-16 9:36 Threads and shared memory Bruno.Richoux
1993-09-17 13:58 ` Nathaniel Mishkin
1993-09-17 13:44 ` David Wright
1993-09-17 16:05 ` Andrew Hastings
1993-09-17 16:21 ` Douglas C. Schmidt
1993-09-17 20:02 ` Nathaniel Mishkin
1993-09-18 18:21 ` Douglas C. Schmidt
1993-09-19 23:12 ` Dave Weisman
1993-09-22 20:07 ` Brian Sturgill
1993-09-23 1:20 ` Douglas C. Schmidt
1993-09-23 13:09 ` Nathaniel Mishkin [this message]
1993-09-27 13:54 ` George J. Carrette
1993-09-17 14:48 ` Dave McCracken
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox