Since the PTK is expected to be platform independent, certain primitives like mutual exclusion cannot be implemented within the PTK library itself and are expected to be provided by the integrating Application. To simplify this process, the PTK library exports promitive signatures and function and the implementation needs to be provided by the Application.
◆ PTK_Drv_InsMutexCreate()
| void* PTK_Drv_InsMutexCreate |
( |
| ) |
|
◆ PTK_Drv_InsMutexLock()
| int32_t PTK_Drv_InsMutexLock |
( |
void * |
mutex | ) |
|
Locks a critical section.
◆ PTK_Drv_InsMutexUnLock()
| int32_t PTK_Drv_InsMutexUnLock |
( |
void * |
mutex | ) |
|
◆ PTK_Drv_InsMutexDelete()
| int32_t PTK_Drv_InsMutexDelete |
( |
void * |
| ) |
|