Processor$spinlock_acquire function <nucleus/kernel.h>

The Processor$spinlock_acquire function will acquire a spinlock. If the spinlock is not immediately available, the code will spin until it is.

Syntax

void
Processor$spinlock_acquire(
	spinlock_t *lock
);

Parameters

lock

A pointer to the spinlock to be acquired.