RE: [ntdev] Spin Locks

Is there any problem with multi processor?

Gil.

-----Original Message-----
From: Roddy, Mark [mailto:xxxxx@stratus.com]
Sent: Monday, May 17, 2004 7:59 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Spin Locks

As long as you do not have ANY execution threads that need to modify the
resource state at DISPATCH_LEVEL then you can use locks other than
spinlocks. Carefully read the IRQL requirements for your lock of choice.
IMHO the simplest and least restrictive lock is an event based lock.

=====================
Mark Roddy


From: Gil Mizrahi [mailto:xxxxx@Gntsteps.com]
Sent: Monday, May 17, 2004 2:48 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Spin Locks
Hi,

If I have a code that runs in passive level and I want to protect some
resources. Do I have to use Spin Lock? Is it possible to use Mutex or Fast
Mutex instead?

Thanks,
Gil.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.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@gntsteps.com
To unsubscribe send a blank email to xxxxx@lists.osr.com