加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-14 20:02
#
文件名称:
sigevent.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
4.91 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# sigevent
## **Overview**
**Related Modules:**
[IPC](IPC.md)
**Description:**
Describes asynchronous notifications.
## **Summary**
## Data Fields
























Variable Name


Description


sigev_value


union sigval 


sigev_signo


int 


sigev_notify


int 


sigev_notify_function )(unionsigval)


void(* 


sigev_notify_attributes


pthread_attr_t * 


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
点赞 回复
回帖
支持markdown部分语法 ?