Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Function RTLockSpinlockFast Function RTReleaseSpinlockFast |
Function RTLockSpinlockFastRTLockSpinlockFast locks a spinlock with no run-time checks and no options: void RTLockSpinlockFast(RTSpinlock * Lock); ParametersLockPointer to the spinlock to lock. RTLockSpinlockFast does the same thing as RTLockSpinlock(0). Flags specified in the initialization of the spinlock are ignored (Flags value zero is assumed). The function does not check for errors and it never calls RTSpinlockError. It cannot fail. In other words, if it is unable to lock the spinlock, it will wait indefinitely. However, RTLockSpinlockFast is somewhat faster than RTLockSpinlock. A spinlock locked with RTLockSpinlockFast may only be released with function RTReleaseSpinlockFast, but not with RTReleaseSpinlock. Function RTReleaseSpinlockFast
|