Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Function RTReleaseSpinlockFast |
Function RTReleaseSpinlockFastRTReleaseSpinlockFast releases a previously locked spinlock with no run-time checks and no options: void RTReleaseSpinlockFast(RTSpinlock * Lock); ParametersLockPointer to the spinlock to release. RTReleaseSpinlockFast does the same thing as RTReleaseSpinlock. 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. If the calling CPU did not previously lock the spinlock with RTLockSpinlockFast the behavior is undefined. However, RTReleaseSpinlockFast is somewhat faster than RTReleaseSpinlock. A spinlock released with RTReleaseSpinlockFast must have been locked with function RTLockSpinlockFast, but not with RTLockSpinlock.
|