From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113dfb,21c6174a3c733dc0 X-Google-Attributes: gid113dfb,public X-Google-Thread: f678f,562d37d12a49893d X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-09-23 06:43:44 PST Xref: gmd.de comp.os.ms-windows.programmer.win32:9148 comp.unix.osf.misc:522 Newsgroups: comp.os.ms-windows.programmer.win32,comp.unix.osf.misc Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!olivea!decwrl!decwrl!news.bu.edu!inmet!noc.near.net!atria.com!pluto!mishkin From: mishkin@atria.com (Nathaniel Mishkin) Subject: Re: Threads and shared memory Message-ID: Followup-To: comp.os.ms-windows.programmer.win32,comp.unix.osf.misc Sender: news@atria.com Nntp-Posting-Host: 192.88.237.52 Organization: Atria Software, Inc. X-Newsreader: TIN [version 1.2 PL0] References: <27fjjd$s41@net1.ics.uci.edu> <1993Sep22.140719.3484@morgan.cs.utah.edu> <27qtlm$o3g@liege.ics.uci.edu> Date: Thu, 23 Sep 1993 13:09:32 GMT 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