Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Function RTReleaseSpinlock Function RTReleaseSpinlockFast |
Function RTReleaseSpinlockRTReleaseSpinlock releases a previously locked spinlock: UINT RTReleaseSpinlock(RTSpinlock * Lock); ParametersLockPointer to the spinlock to release. return ValueZero on failure or non-zero when the spinlock has been released. The function will fail if the calling CPU has not locked the spinlock. Unless flag RT_SPIN_NO_INTS_DISABLE has been specified, the interrupt enable state is restored to the state at the time the spinlock was locked. A spinlock released with RTReleaseSpinlock must have been locked with function RTLockSpinlock, but not with RTLockSpinlockFast.
|