Typedefs | |
| typedef struct NvOsConditionRec * | NvOsConditionHandle |
Functions | |
| NvError | NvOsConditionBroadcast (NvOsConditionHandle cond) |
| This function resumes multiple threads which wait the condition. More... | |
| NvError | NvOsConditionCreate (NvOsConditionHandle *cond) |
| This function creates a condition. More... | |
| NvError | NvOsConditionDestroy (NvOsConditionHandle cond) |
| This function destroys a condition. More... | |
| NvError | NvOsConditionSignal (NvOsConditionHandle cond) |
| This function resumes a thread which wait the condition. More... | |
| NvError | NvOsConditionWait (NvOsConditionHandle cond, NvOsMutexHandle mutex) |
| This function waits a condition. More... | |
| NvError | NvOsConditionWaitTimeout (NvOsConditionHandle cond, NvOsMutexHandle mutex, NvU32 microsecs) |
| This function waits for a condition till timeout. More... | |
| typedef struct NvOsConditionRec* NvOsConditionHandle |
Handle for NvOS condition variable. This is an opaque type and should not be dereferenced.
Definition at line 39 of file nvos_s3_tegra_safety.h.
| NvError NvOsConditionBroadcast | ( | NvOsConditionHandle | cond | ) |
This function resumes multiple threads which wait the condition.
| [in] | cond | The condition handle to wait on |
Usage considerations
| NvError NvOsConditionCreate | ( | NvOsConditionHandle * | cond | ) |
This function creates a condition.
| [out] | cond | The condition handle is created |
Usage considerations
| NvError NvOsConditionDestroy | ( | NvOsConditionHandle | cond | ) |
This function destroys a condition.
| [in] | cond | Condition handle to be destroyed |
Usage considerations
| NvError NvOsConditionSignal | ( | NvOsConditionHandle | cond | ) |
This function resumes a thread which wait the condition.
| [in] | cond | Condition handle to wait |
Usage considerations
| NvError NvOsConditionWait | ( | NvOsConditionHandle | cond, |
| NvOsMutexHandle | mutex | ||
| ) |
This function waits a condition.
| [in] | cond | Condition handle to wait |
| [in] | mutex | The mutex handle, which will be unlocked when cond parameter is signaled |
Usage considerations
| NvError NvOsConditionWaitTimeout | ( | NvOsConditionHandle | cond, |
| NvOsMutexHandle | mutex, | ||
| NvU32 | microsecs | ||
| ) |
This function waits for a condition till timeout.
| [in] | cond | Condition handle to wait on |
| [in] | mutex | The mutex handle, which will be unlocked when cond parameter is signaled |
| [in] | microsecs | Timeout in microsec |
Usage considerations