|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
函数 | |
| int | osal_workqueue_init (osal_workqueue *work, osal_workqueue_handler handler) |
| This API is used to initialization of workqueue. | |
| int | osal_workqueue_schedule (osal_workqueue *work) |
| put work task in global workqueue. | |
| void | osal_workqueue_destroy (osal_workqueue *work) |
| This API is used to destroy workqueue. | |
| int | osal_workqueue_flush (osal_workqueue *work) |
| wait for a work to finish executing the last queueing instance. | |
| void osal_workqueue_destroy | ( | osal_workqueue * | work | ) |
This API is used to destroy workqueue.
| work | [in] The work to be destroyed. |
| int osal_workqueue_flush | ( | osal_workqueue * | work | ) |
wait for a work to finish executing the last queueing instance.
| work | [in] The work to flush. |
| int osal_workqueue_init | ( | osal_workqueue * | work, |
| osal_workqueue_handler | handler | ||
| ) |
This API is used to initialization of workqueue.
| work | [in/out] the workqueue to be initialized. |
| handler | [in/out] the workqueue callback handler function. |
| int osal_workqueue_schedule | ( | osal_workqueue * | work | ) |
put work task in global workqueue.
| work | [in] Job to be done. |