当前仅显示指定条件回帖 [ 展开查看全部 ]
文件名称:
sigevent.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
4.91 KB
下载地址:
文本预览:
# sigevent
## **Overview**
**Related Modules:**
[IPC](IPC.md)
**Description:**
Describes asynchronous notifications.
## **Summary**
## Data Fields
## **Details**
## **Field Documentation**
## char\_\_pad
```
sigevent::char__pad[56-3 *sizeof(long)]
```
**Description:**
A reserved field
## sigev\_notify
```
int sigevent::sigev_notify
```
**Description:**
Notification method, which can be set to [SIGEV\_SIGNAL](IPC.md#ga06d5881eeb84e6ac35f5b801c380dbb6), [SIGEV\_NONE](IPC.md#gaced9a66610d9d61756999ce4f103740e), or [SIGEV\_THREAD](IPC.md#ga29ccb6a17fa90a1357b478f62af7fca0)
## sigev\_notify\_attributes
```
pthread_attr_t* sigevent::sigev_notify_attributes
```
**Description:**
Attributes for notification thread
## sigev\_notify\_function
```
void(* sigevent::sigev_notify_function) (unionsigval)
```
**Description:**
Function used for thread notification
## sigev\_signo
```
int sigevent::sigev_signo
```
**Description:**
Notification signal
## sigev\_value
```
union [sigval](sigval.md) sigevent::sigev_value
```
**Description:**
Data passed with notification
## **Overview**
**Related Modules:**
[IPC](IPC.md)
**Description:**
Describes asynchronous notifications.
## **Summary**
## Data Fields
union sigval | |
sigev_notify_function )(unionsigval) | |
char__pad [56-3 *sizeof(long)] |
## **Details**
## **Field Documentation**
## char\_\_pad
```
sigevent::char__pad[56-3 *sizeof(long)]
```
**Description:**
A reserved field
## sigev\_notify
```
int sigevent::sigev_notify
```
**Description:**
Notification method, which can be set to [SIGEV\_SIGNAL](IPC.md#ga06d5881eeb84e6ac35f5b801c380dbb6), [SIGEV\_NONE](IPC.md#gaced9a66610d9d61756999ce4f103740e), or [SIGEV\_THREAD](IPC.md#ga29ccb6a17fa90a1357b478f62af7fca0)
## sigev\_notify\_attributes
```
pthread_attr_t* sigevent::sigev_notify_attributes
```
**Description:**
Attributes for notification thread
## sigev\_notify\_function
```
void(* sigevent::sigev_notify_function) (unionsigval)
```
**Description:**
Function used for thread notification
## sigev\_signo
```
int sigevent::sigev_signo
```
**Description:**
Notification signal
## sigev\_value
```
union [sigval](sigval.md) sigevent::sigev_value
```
**Description:**
Data passed with notification
点赞
回复
X