|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
函数 | |
| int | osal_completion_init (osal_completion *com) |
| Initialize a dynamically allocd completion. | |
| void | osal_complete (osal_completion *com) |
| signals a single thread waiting on this completion. | |
| void | osal_wait_for_completion (osal_completion *com) |
| waits for completion of a task. | |
| unsigned long | osal_wait_for_completion_timeout (osal_completion *com, unsigned long timeout) |
| waits for completion of a task (w/timeout) | |
| void | osal_complete_all (osal_completion *com) |
| signals all threads waiting on this completion. | |
| void | osal_complete_destory (osal_completion *com) |
| free a dynamically allocd completion. | |
| void osal_complete | ( | osal_completion * | com | ) |
signals a single thread waiting on this completion.
| com | [in] holds the state of this particular completion |
| void osal_complete_all | ( | osal_completion * | com | ) |
signals all threads waiting on this completion.
| com | [in] holds the state of this particular completion |
| void osal_complete_destory | ( | osal_completion * | com | ) |
free a dynamically allocd completion.
| com | [in] holds the state of this particular completion |
| int osal_completion_init | ( | osal_completion * | com | ) |
Initialize a dynamically allocd completion.
| com | [out] pointer to completion structure that is to be initialized |
| void osal_wait_for_completion | ( | osal_completion * | com | ) |
waits for completion of a task.
| com | [in] holds the state of this particular completion |
| unsigned long osal_wait_for_completion_timeout | ( | osal_completion * | com, |
| unsigned long | timeout | ||
| ) |
waits for completion of a task (w/timeout)
| com | [in] holds the state of this particular completion |
| timeout | [in] jeffies in linux, tick in liteos |