Jump to content

DosAcquireSpinLock

From EDM2
Revision as of 10:03, 19 July 2023 by Erdmann (talk | contribs)

Acquire a spinlock for multiprocessor serialization

Syntax

VOID APIENTRY DosAcquireSpinLock (HSPINLOCK Handle)

Parameter

Handle (HSPINLOCK)
Handle to a spin lock

Remarks

DosAcquireSpinLock is passed a handle which was returned by DosCreateSpinLock When control is returned to the requester, the spin lock has been acquired and interrupts are disabled. A call to DosReleaseSpinLock must follow very shortly. Spin locks can be nested.

Related Functions