Jump to content

KernAcquireSpinLock: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 2: Line 2:


==Synopsis==
==Synopsis==
  VOID APIENTRY KernAcquireSpinLock(KEESpinLock* sl);
  VOID APIENTRY KernAcquireSpinLock (KEESpinLock* sl);


==Parameters==
==Parameters==
'''sl:''' Pointer to an initialized spinlock structure-
;sl: Pointer to an initialized spinlock structure


[[Category:KEE]]
[[Category:KEE]]

Revision as of 12:35, 19 July 2020

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