Jump to content

KernAcquireSpinLock: Difference between revisions

From EDM2
Created page with "==Synopsis== VOID APIENTRY KernAcquireSpinLock(KEESpinLock* sl); ==Description== Try to acquire the spinlock. If another processor already owns the spinlock, the caller will ..."
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
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==
'''sl:''' Pointer to an initialized spinlock structure-
;''sl'' (KEESpinLock) - input: Pointer to an initialized spinlock structure


[[Category:The OS/2 API Project]]
[[Category:KEE]]

Latest revision as of 02:58, 28 May 2025

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 (KEESpinLock) - input
Pointer to an initialized spinlock structure