![]() |
Home |
|
Function RTKCreateSpinlockRTKCreateSpinlock creates a new spinlock: RTKSpinlock RTKCreateSpinlock(unsigned CPUs, const char * Name); ParametersCPUsThe maximum number of CPUs which may use this spinlock. If the spinlock is created after RTKernelInit has been called, use the value returned by RTKCPUs(). Each CPU needs about 64 bytes of RAM. NamePointer to a name for the new spinlock. Only the pointer, but not the whole name, is copied into the spinlock. The name is used for diagnostics purposes only. return valueA reference to the newly created spinlock.
|