Jump to content

DosReleaseSpinLock: Difference between revisions

From EDM2
Erdmann (talk | contribs)
Erdmann (talk | contribs)
 
Line 8: Line 8:


==Remarks==
==Remarks==
DosReleaseSpinLock is passed a handle which was returned by DosCreateSpinLock When control is returned to the requester, the spin lock is released and interrupts are enabled. A DosAcquireSpinLock must have been previously issued.
DosReleaseSpinLock is passed a handle which was returned by DosCreateSpinLock. When control is returned to the requester, the spin lock is released and interrupts are enabled. A DosAcquireSpinLock must have been previously issued.


==Related Functions==
==Related Functions==

Latest revision as of 10:18, 19 July 2023

Release a spinlock for multiprocessor serialization

Syntax

VOID APIENTRY DosReleaseSpinLock(HSPINLOCK Handle);

Parameter

Handle (HSPINLOCK)
Handle to a spin lock

Remarks

DosReleaseSpinLock is passed a handle which was returned by DosCreateSpinLock. When control is returned to the requester, the spin lock is released and interrupts are enabled. A DosAcquireSpinLock must have been previously issued.

Related Functions