Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Function RTReleaseSpinlockFast Function RTSpinlockError |
Function RTSpinlockErrorRTSpinlockError is the error handler called by RTLockSpinlock and RTReleaseSpinlock when an error is detected: void RTSpinlockError(const RTSpinlock * Lock, const char * Msg); ParametersLockPointer to the spinlock on which the error occurred. MsgPointer to an error message describing the error. The RTTarget-32 library contains an implementation of this function which uses function OutputDebugString to display the error message and the name of the spinlock. Applications can replace this function with their own message handler by simply implementing a function with the same names and parameters. In multi-module applications (applications using DLLs), RTSpinlockError must reside in the system module. Function RTReleaseSpinlockFast
|