![]() |
Home |
|
Function RTKResourceOwnerFunction RTKResourceOwner can be used to enquire which task currently occupies a resource or mutex semaphore: RTKTaskHandle RTKResourceOwner(RTKSemaphore S); ParametersSReferences the resource or mutex semaphore to enquire. return valueIf the semaphore is free, the function returns the value RTK_NO_TASK; otherwise, the task handle of the task occupying the resource is returned. This function can only be used for resource and mutex semaphores.
|