DosReleaseSpinLock: Difference between revisions
Appearance
No edit summary |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Release a spinlock for multiprocessor serialization | |||
==Syntax== | ==Syntax== | ||
VOID APIENTRY DosReleaseSpinLock(HSPINLOCK Handle); | 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== | ==Related Functions== | ||
*[[DosCreateSpinLock]] | |||
*[[DosAcquireSpinLock]] | *[[DosAcquireSpinLock]] | ||
*[[DosFreeSpinLock]] | *[[DosFreeSpinLock]] | ||
[[Category: | [[Category:Dos]] |
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.