Path: news.mitre.org!blanket.mitre.org!nntprelay.mathworks.com!europa.clark.net!152.158.16.55!newsfeed2.uk.ibm.net!news.ibm.net.il!ibm.net!not-for-mail From: vampire@cross.garlic ((vampire)) Newsgroups: comp.os.ms-windows.programmer.nt.kernel-mode Subject: Re: Blocking a user thread in kernel mode Date: Tue, 20 Jan 1998 07:55:16 GMT Organization: Unspecified Organization Lines: 16 Message-ID: <34c45789.423866147@news.ibm.net.il> References: <34BD88D9.2928@spectron.com> <69qn12$1vp$1@usenet50.supernews.com> NNTP-Posting-Host: cirithungol.memco.co.il X-Newsreader: Forte Free Agent 1.1/32.230 On Sat, 17 Jan 1998 11:34:47 -0500, "Duane J. McCrory" wrote: >If the other thread happens to try an operation using your file handle then >all will stop. Open your device multiple times giving each thread its own >file handle for accessing your device. This prevents them from blocking one >another. > >Duane. > It is easier, and more (politically ? ;)) correct to open a single handle with an OVERLAPPED parameter. This allows multiple simultaneous calls on the same handle, with a down side that OVERLAP structures are now mandatory.