KeAcquire/ReleaseInterruptSpinLock

Is it possible to simulate KeAcquire/ReleaseInterruptSpinLock in Win2K?

Thanks

Ta H.


Rethink your business approach for the new year with the helpful tips here.
http://special.msn.com/bcentral/prep04.armx

Use KeSynchronizeExecution instead.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Ta H.”
To: “Windows System Software Devs Interest List”
Sent: Friday, January 30, 2004 2:37 AM
Subject: [ntdev] KeAcquire/ReleaseInterruptSpinLock

> Is it possible to simulate KeAcquire/ReleaseInterruptSpinLock in Win2K?
>
> Thanks
>
> Ta H.
>
> _________________________________________________________________
> Rethink your business approach for the new year with the helpful tips here.
> http://special.msn.com/bcentral/prep04.armx
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Why not just use KeSynchronizeExecution? There is no easy (or safe) way of
doing the new calls in Win2k.

Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: “Ta H.”
To: “Windows System Software Devs Interest List”
Sent: Thursday, January 29, 2004 6:37 PM
Subject: [ntdev] KeAcquire/ReleaseInterruptSpinLock

> Is it possible to simulate KeAcquire/ReleaseInterruptSpinLock in Win2K?
>
> Thanks
>
> Ta H.
>
> _________________________________________________________________
> Rethink your business approach for the new year with the helpful tips
here.
> http://special.msn.com/bcentral/prep04.armx
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com

I have used KeSynchronizeExecution() all along. But
KeAcquire/ReleaseInterruptSpinLock would simplify my code. I am not sure
about the performance though. DDK says “It is generally faster to use
KeSynchronizeExecution to synchronize access than to use
KeAcquireInterruptSpinLock and KeReleaseInterruptSpinLock.”, but there’s a
SynchRoutine in KeSynchronizeExecution().

Ta H.

From: “Maxim S. Shatskih”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: Re: [ntdev] KeAcquire/ReleaseInterruptSpinLock
>Date: Fri, 30 Jan 2004 03:09:36 +0300
>
> Use KeSynchronizeExecution instead.
>
>Maxim Shatskih, Windows DDK MVP
>StorageCraft Corporation
>xxxxx@storagecraft.com
>http://www.storagecraft.com
>
>
>----- Original Message -----
>From: “Ta H.”
>To: “Windows System Software Devs Interest List”
>Sent: Friday, January 30, 2004 2:37 AM
>Subject: [ntdev] KeAcquire/ReleaseInterruptSpinLock
>
>
> > Is it possible to simulate KeAcquire/ReleaseInterruptSpinLock in Win2K?
> >
> > Thanks
> >
> > Ta H.
> >
> >
> > Rethink your business approach for the new year with the helpful tips
>here.
> > http://special.msn.com/bcentral/prep04.armx
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com


Learn how to choose, serve, and enjoy wine at Wine @ MSN.
http://wine.msn.com/