Jump to content

KernAcquireSpinLock: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
Line 1: Line 1:
Try to acquire the spinlock. If another processor already owns the spinlock, the caller will busy wait until the other owner releases the lock, then acquires the lock immediately.
==Synopsis==
==Synopsis==
VOID APIENTRY KernAcquireSpinLock(KEESpinLock* sl);
VOID APIENTRY KernAcquireSpinLock(KEESpinLock* sl);
 
==Description==
Try to acquire the spinlock. If another processor already owns the spinlock, the caller will busy wait until the other owner releases the lock, then acquires the lock immediately.


==Parameters==
==Parameters==

Revision as of 23:02, 9 June 2017

Try to acquire the spinlock. If another processor already owns the spinlock, the caller will busy wait until the other owner releases the lock, then acquires the lock immediately.

Synopsis

VOID APIENTRY KernAcquireSpinLock(KEESpinLock* sl);

Parameters

sl: Pointer to an initialized spinlock structure-