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-27 18:33:50 PST Xref: gmd.de comp.os.ms-windows.programmer.win32:9222 comp.unix.osf.misc:543 Path: gmd.de!xlink.net!howland.reston.ans.net!agate!doc.ic.ac.uk!pipex!uunet!thehulk!mitech!gjc Newsgroups: comp.os.ms-windows.programmer.win32,comp.unix.osf.misc Subject: Re: Threads and shared memory Message-ID: <7181@mitech.com> From: gjc@mitech.com (George J. Carrette) Date: 27 Sep 93 13:54:23 GMT References: <27fjjd$s41@net1.ics.uci.edu> <1993Sep22.140719.3484@morgan.cs.utah.edu> <27qtlm$o3g@liege.ics.uci.edu> Organization: Mitech Corporation, Concord MA In article <27qtlm$o3g@liege.ics.uci.edu>, schmidt@liege.ics.uci.edu (Douglas C. Schmidt) writes: > In article <1993Sep22.140719.3484@morgan.cs.utah.edu>, > Brian Sturgill wrote: > ++ BTW, you are aware that select() is present under Windows NT already? > > 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. The function you might be looking for is MsgWaitForMultipleObjects. It seems to handle both windows messages (used by WINSOCK.H stuff) and the object stuff handled by WaitForMultipleObjects, events, semifores, etc.