文件名称:
HdfWork.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
2.09 KB
下载地址:
文本预览:
# HdfWork
## **Overview**
**Related Modules:**
[DriverUtils](DriverUtils.md)
**Description:**
Describes a work item and a delayed work item. This structure defines the work and delayed work items, and then calls the initialization function [HdfWorkInit](DriverUtils.md#gad171adc8eda320fd01049a2b87ea62fb) or [HdfDelayedWorkInit](DriverUtils.md#ga55bf669dc6740c65e4d45a4f641db2f1) to perform initialization. The **[HdfAddWork\(\)](DriverUtils.md#ga82cc68d656aa17317634b07d49dae160)** function is to add a work item to a work queue immediately, and the **[HdfAddDelayedWork\(\)](DriverUtils.md#gaef781ccc1579db3070745088da47b2c5)** function is to add a work item to a work queue after the configured delayed time.
## **Summary**
## Data Fields
## **Details**
## **Field Documentation**
## realWork
```
void* HdfWork::realWork
```
**Description:**
Pointer to a work item and a delayed work item
## **Overview**
**Related Modules:**
[DriverUtils](DriverUtils.md)
**Description:**
Describes a work item and a delayed work item. This structure defines the work and delayed work items, and then calls the initialization function [HdfWorkInit](DriverUtils.md#gad171adc8eda320fd01049a2b87ea62fb) or [HdfDelayedWorkInit](DriverUtils.md#ga55bf669dc6740c65e4d45a4f641db2f1) to perform initialization. The **[HdfAddWork\(\)](DriverUtils.md#ga82cc68d656aa17317634b07d49dae160)** function is to add a work item to a work queue immediately, and the **[HdfAddDelayedWork\(\)](DriverUtils.md#gaef781ccc1579db3070745088da47b2c5)** function is to add a work item to a work queue after the configured delayed time.
## **Summary**
## Data Fields
## **Details**
## **Field Documentation**
## realWork
```
void* HdfWork::realWork
```
**Description:**
Pointer to a work item and a delayed work item
点赞
回复
X