|
| ClRcT | clOsalCondBroadcast (ClOsalCondIdT conditionId) |
| | Broadcasts a condition. More...
|
| |
| ClRcT | clOsalCondCreate (ClOsalCondIdT *pConditionId) |
| | Creates a condition variable. More...
|
| |
| ClRcT | clOsalCondDelete (ClOsalCondIdT conditionId) |
| | Deletes a condition variable. More...
|
| |
| ClRcT | clOsalCondDestroy (ClOsalCondT *pCond) |
| | Destroys a condition variable. More...
|
| |
| ClRcT | clOsalCondInit (ClOsalCondT *pCond) |
| | Initializes a condition variable. More...
|
| |
| ClRcT | clOsalCondSignal (ClOsalCondIdT conditionId) |
| | Signals a condition. More...
|
| |
| ClRcT | clOsalCondWait (ClOsalCondIdT conditionId, ClOsalMutexIdT mutexId, ClTimerTimeOutT time) |
| | Waits for a condition. More...
|
| |
| ClRcT | clOsalFinalize (void) |
| |
| ClRcT | clOsalInitialize (const ClPtrT pConfig) |
| | Initializes the Operating System Abstraction Layer (OSAL). More...
|
| |
| ClRcT | clOsalMutexCreate (ClOsalMutexIdT *pMutexId) |
| | Creates a mutex. More...
|
| |
| ClRcT | clOsalMutexCreateAndLock (ClOsalMutexIdT *pMutexId) |
| | Creates a mutex in locked state. More...
|
| |
| ClRcT | clOsalMutexDelete (ClOsalMutexIdT mutexId) |
| | Deletes a mutex. More...
|
| |
| ClRcT | clOsalMutexDestroy (ClOsalMutexT *pMutex) |
| | Destroys a mutex. More...
|
| |
| ClRcT | clOsalMutexInit (ClOsalMutexT *pMutex) |
| | Initializes a mutex. More...
|
| |
| ClRcT | clOsalMutexLock (ClOsalMutexIdT mutexId) |
| | Locks a mutex. More...
|
| |
| ClRcT | clOsalMutexUnlock (ClOsalMutexIdT mutexId) |
| | Unlocks a mutex. More...
|
| |
| ClRcT | clOsalNanoTimeGet (ClNanoTimeT *pTime) |
| | Returns the time since Epoch, with a best resolution of 1 nanosecond. More...
|
| |
| ClRcT | clOsalPageSizeGet (ClInt32T *pSize) |
| |
| ClRcT | clOsalPrintf (const ClCharT *fmt,...) |
| | Prints to the standard output. More...
|
| |
| ClRcT | clOsalProcessCreate (ClOsalProcessFuncT fpFunction, void *functionArg, ClOsalProcessFlagT creationFlags, ClOsalPidT *pProcessId) |
| | Creates a process. More...
|
| |
| ClRcT | clOsalProcessDelete (ClOsalPidT processId) |
| | Deletes a process. More...
|
| |
| ClRcT | clOsalProcessSelfIdGet (ClOsalPidT *pProcessId) |
| | Retrieves the processId. More...
|
| |
| ClRcT | clOsalProcessSharedCondInit (ClOsalCondT *pCond) |
| | Initializes a condition variable that can be used in multiple processes. More...
|
| |
| ClRcT | clOsalProcessSharedMutexInit (ClOsalMutexT *pMutex, ClOsalSharedMutexFlagsT flags, ClUint8T *pKey, ClUint32T keyLen, ClInt32T value) |
| | Initializes a process-shared mutex. More...
|
| |
| ClRcT | clOsalProcessWait (ClOsalPidT processId) |
| | Waits for a process to exit. More...
|
| |
| ClRcT | clOsalRecursiveMutexInit (ClOsalMutexT *pMutex) |
| | Initializes a mutex. More...
|
| |
| ClRcT | clOsalSelfTaskIdGet (ClOsalTaskIdT *pTaskId) |
| | Retrieves task id. More...
|
| |
| ClRcT | clOsalSemCreate (ClUint8T *pName, ClUint32T value, ClOsalSemIdT *pSemId) |
| | Creates a semaphore. More...
|
| |
| ClRcT | clOsalSemDelete (ClOsalSemIdT semId) |
| | Deletes a semaphore. More...
|
| |
| ClRcT | clOsalSemIdGet (ClUint8T *pName, ClOsalSemIdT *pSemId) |
| | Retrieves the semaphore id. More...
|
| |
| ClRcT | clOsalSemLock (ClOsalSemIdT semId) |
| | Locks a semaphore. More...
|
| |
| ClRcT | clOsalSemTryLock (ClOsalSemIdT semId) |
| | Locks a semaphore if it is available. More...
|
| |
| ClRcT | clOsalSemUnlock (ClOsalSemIdT semId) |
| | Unlocks a semaphore. More...
|
| |
| ClRcT | clOsalSemValueGet (ClOsalSemIdT semId, ClUint32T *pSemValue) |
| | Retrieves the value of a semaphore. More...
|
| |
| ClRcT | clOsalShmAttach (ClOsalShmIdT shmId, void *pInMem, void **ppOutMem) |
| | Attaches a shared memory. More...
|
| |
| ClRcT | clOsalShmCreate (ClUint8T *pName, ClUint32T size, ClOsalShmIdT *pShmId) |
| | Creates a shared memory. More...
|
| |
| ClRcT | clOsalShmDelete (ClOsalShmIdT shmId) |
| | Deletes a shared memory. More...
|
| |
| ClRcT | clOsalShmDetach (void *pMem) |
| | Detaches a shared memory. More...
|
| |
| ClRcT | clOsalShmIdGet (ClUint8T *pName, ClOsalShmIdT *pShmId) |
| | Retrieves a shared memory Id. More...
|
| |
| ClRcT | clOsalShmSecurityModeGet (ClOsalShmIdT shmId, ClUint32T *pMode) |
| | Retrieves permissions of shared memory. More...
|
| |
| ClRcT | clOsalShmSecurityModeSet (ClOsalShmIdT shmId, ClUint32T mode) |
| | Sets permissions to shared memory. More...
|
| |
| ClRcT | clOsalShmSizeGet (ClOsalShmIdT shmId, ClUint32T *pSize) |
| | Retrieves the size of shared memory. More...
|
| |
| void | clOsalSigHandlerInitialize (void) |
| | Installs and initializes the signal handler. More...
|
| |
| ClTimeT | clOsalStopWatchTimeGet (void) |
| | Retrieves the time since the machine is up. More...
|
| |
| ClRcT | clOsalTaskCreateAttached (const ClCharT *taskName, ClOsalSchedulePolicyT schedulePolicy, ClUint32T priority, ClUint32T stackSize, void *(*fpTaskFunction)(void *), void *pTaskFuncArgument, ClOsalTaskIdT *pTaskId) |
| | Creates a task. More...
|
| |
| ClRcT | clOsalTaskCreateDetached (const ClCharT *taskName, ClOsalSchedulePolicyT schedulePolicy, ClUint32T priority, ClUint32T stackSize, void *(*fpTaskFunction)(void *), void *pTaskFuncArgument) |
| | Creates a task. More...
|
| |
| ClRcT | clOsalTaskDataGet (ClUint32T key, ClOsalTaskDataT *pThreadData) |
| | Retrieves the thread-specific data. More...
|
| |
| ClRcT | clOsalTaskDataSet (ClUint32T key, ClOsalTaskDataT threadData) |
| | Sets the thread-specific data. More...
|
| |
| ClRcT | clOsalTaskDelay (ClTimerTimeOutT timeOut) |
| | Delays a task. More...
|
| |
| ClRcT | clOsalTaskDelete (ClOsalTaskIdT taskId) |
| | Deletes a task. More...
|
| |
| ClRcT | clOsalTaskDetach (ClOsalTaskIdT taskId) |
| | No longer interested in the task's alive/dead state. More...
|
| |
| ClRcT | clOsalTaskJoin (ClOsalTaskIdT taskId) |
| | Joins a task. More...
|
| |
| ClRcT | clOsalTaskKeyCreate (ClUint32T *pKey, ClOsalTaskKeyDeleteCallBackT pCallbackFunc) |
| | Creates a key for thread-specific data. More...
|
| |
| ClRcT | clOsalTaskKeyDelete (ClUint32T key) |
| | Deletes the key for thread-specific data. More...
|
| |
| ClRcT | clOsalTaskKill (ClOsalTaskIdT taskId, ClInt32T sig) |
| | Kills a task by sending a signal. More...
|
| |
| ClRcT | clOsalTaskNameGet (ClOsalTaskIdT taskId, ClCharT **ppTaskName) |
| | Retrieves task name. More...
|
| |
| ClRcT | clOsalTaskPriorityGet (ClOsalTaskIdT taskId, ClUint32T *pTaskPriority) |
| | Retrieves the priority of the task. More...
|
| |
| ClRcT | clOsalTaskPrioritySet (ClOsalTaskIdT taskId, ClUint32T taskPriority) |
| | Sets the priority of the task. More...
|
| |
| ClRcT | clOsalTimeOfDayGet (ClTimerTimeOutT *pTime) |
| | Retrieves the current time. More...
|
| |
Operating System Abstraction Layer API.